Emits 'event' with the given args
The event that we want to emit
Optional arguments to emit with the event
Emitter
Returns if we have listeners for a particular event
The event that we want to check if we've listeners for
True if we have listeners for this event, false otherwise
Returns all the callbacks for a particular event
The event that we're looking for the callbacks of
An array of callback Functions, or an empty array if we don't have any
Removes a listener for a particular type of event. This will either remove a specific listener, or all listeners for this type of event
The event that we want to remove the listener of
The function to remove, or null if we want to remove all functions
This Emitter
Adds a listener for a particular event. Calling multiple times will add multiple listeners
The event that we're listening for
The function to call when we get the event. Parameters depend on the event in question
This Emitter
Adds a listener for a particular event that will be invoked a single time before being automatically removed
The event that we're listening for
The function to call when we get the event. Parameters depend on the event in question
This Emitter
Removes all event listeners on this object
This Emitter
Generated using TypeDoc
The base emiter class, used by Socket and Manager