Core
Write Protocols v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

broadcast #

Asks the protocol to emit a payload to channels.


Arguments #

Copied to clipboard!
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.