Private channelThe name of the channel to subscribe to.
Private deactivatedWhether this channel is deactivated.
Private socketThe socket.io client socket to use for communication.
Registers a callback function to be executed when the specified event is emitted.
void
The type of data to be passed as arguments to the callback function.
The name of the event to listen for.
The callback function to be executed when the specified event is emitted.
Rest ...args: TPublishes an event to the channel.
Promise
The type of data to be passed along with the event.
The name of the event to be published.
The data to be passed along with the event.
Generated using TypeDoc
A class representing a Channel for the Bagman client.