async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > EventBasedChannel > send

EventBasedChannel.send() method

Send the data to the remote side.

Signature:

send(data: Data): void | Promise<void>;

Parameters

Parameter Type Description
data Data The data should send to the remote side.

Returns:

void | Promise<void>