Enumeration of events emitted by all EventEmitter instances.

Variables

@:value(cast "newListener")@:enum@:implinlineread onlyNewListener:EventEmitterEvent<(eventName:EitherType<String, Symbol>, listener:Function) ‑> Void> = "newListener"

The EventEmitter instance will emit its own 'newListener' event before a listener is added to its internal array of listeners.

See also:

@:value(cast "removeListener")@:enum@:implinlineread onlyRemoveListener:EventEmitterEvent<(eventName:EitherType<String, Symbol>, listener:Function) ‑> Void> = "removeListener"

The 'removeListener' event is emitted after the listener is removed.

See also: