A lightweight JSON RPC client & server
Home > async-call-rpc > notify
Wrap the AsyncCall instance to send notification.
Signature:
export declare function notify<T extends object>(instanceOrFnOnInstance: T): _IgnoreResponse<T>;
Parameter | Type | Description |
---|---|---|
instanceOrFnOnInstance | T | The AsyncCall instance or function on the AsyncCall instance |
Returns:
_IgnoreResponse<T>
const notifyOnly = notify(AsyncCall(…))