A lightweight JSON RPC client & server
Home > async-call-rpc > EventBasedChannel > send
Send the data to the remote side.
Signature:
send(data: Data): void | Promise<void>;
| Parameter | Type | Description |
|---|---|---|
| data | Data | The data should send to the remote side. |
Returns:
void | Promise<void>