Alias for emitter.off(name, fn)
Returns an array listing the events for which the emitter has registered listeners
Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each
name of the event
returns true if the event had listeners, false otherwise
Returns the number of listeners listening to the given event name
name of the event
number of listeners listening to the given event name
Returns a copy of the array of listeners for the event named eventName
name of the event
Removes the specified listener from the listener array for the given event name
name of the event
callback function
EventEmitter instance
Adds the listener function to the end of the listeners array for the given event name
name of the event
callback function
EventEmitter instance
Adds a one-time listener function for the given event name
name of the event
callback function
EventEmitter instance
Removes all listeners, or those of the specified eventName
It's a bad practice to remove listeners added elsewhere in the code
name of the event
EventEmitter instance
Generated using TypeDoc
Alias for emitter.on(name, fn)