Initialize PusherChannelMock with callbacks object.
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.
Trigger 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
Class representing a fake Pusher channel.