Initialise members object when created.
pusher-js
provides all the functionality we need.
The name of the channel to initialise
PusherPresenceChannelMock the mocked presence channel
Alias to match actual API for client events
Bind callback to an event name.
name of the event.
callback to be called on event.
Emit event with data.
name of the event.
data you want to pass in to callback function that gets called.
Unbind callback from an event name.
name of the event.
callback to be called on event.
Unbind callbacks from all the events.
Generated using TypeDoc
Basic augmentation of the PusherChannel class.