notify #
Asks the protocol to send data to a specific connection, on some of its channels.
Arguments #
notify(channels, connectionId, payload)
channels
|string[]
| list of channelsconnectionId
|string
| connection unique identifier, previously registered by the protocol using newConnectionpayload
|object
| data payload
Return #
The notify
function is not expected to return a value.
Edit this page on Github(opens new window)