broadcast #
Asks the protocol to emit a payload to channels.
Arguments #
broadcast(channels, payload);
Arguments | Type | Description |
---|---|---|
channels | string[] | List of channels |
payload | object | Data payload |
Return #
The broadcast
function is not expected to return a value.
Edit this page on Github(opens new window)