Register a callback for when an async message arrives. Note: The "context" is exposed during function calls via the SuperRPC.currentContext property.
Sends a message asnychronously. The response will come via the receive callback function.
Sends a message and returns the response synchronously.
Generated using TypeDoc
The channel used for the communication. Can support synchronous and/or asynchronous messages.
Note: if sync/async is not supported, make sure to use the correct return type for functions: FunctionReturnBehavior.