ExperimentalAPI may change in future versions
Publish events to a channel via WebSocket
JSON-serializable value or an array of values
OptionalpubOptions: EventsOptionsrequest overrides: authMode, authToken
void on success
ExperimentalAPI may change in future versions
Subscribe to Events
observer callback handlers
{ next: () => {}, error: () => {}}
OptionalsubOptions: EventsOptions
API may change in future versions
Close channel and any active subscriptions