Skip to main content
Module

x/async_call_rpc/docs/async-call-rpc.notify.md

A lightweight JSON RPC client & server
Latest
File

Home > async-call-rpc > notify

notify() function

Wrap the AsyncCall instance to send notification.

Signature:

export declare function notify<T extends object>(instanceOrFnOnInstance: T): _IgnoreResponse<T>;

Parameters

Parameter Type Description
instanceOrFnOnInstance T The AsyncCall instance or function on the AsyncCall instance

Returns:

_IgnoreResponse<T>

Example

const notifyOnly = notify(AsyncCall(…))