broadcast
Description
Broadcast (emit) messages to the server. By default, it broadcasts to the 'message' topic.
Usage
Basic Usage:
API
Since
1.0
Parameters
messagesToSend$<Observable>
: An Observable containing messages that will be sent to the server (whenever a message is emitted)topic<String>
: The topic to which the events should be published. Defaults to'message'
.
Options
None
Returns
{topic<String>,message<Any>}
Last updated