The channel on which the event will be broadcast
The HubPayload
Optional
source: stringThe source of the event; defaults to ''
Optional
ampSymbol: symbolSymbol used to determine if the event is dispatched internally on a protected channel
Optional
source: stringOptional
ampSymbol: symbolUsed to listen for Hub events.
The channel on which to listen
The callback to execute when an event is received on the specified channel
Optional
listenerName: stringThe name of the listener; defaults to 'noname'
A function which can be called to cancel the listener.
Optional
listenerName: string
Used to send a Hub event.