View source
enum abstract EventEmitterEvent<T>(Event<T>)
package js.node.events
to Event<T>
import js.node.events.EventEmitter
Enumeration of events emitted by all EventEmitter
instances.
Variables
inlineread 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:
inlineread onlyRemoveListener:EventEmitterEvent<(eventName:EitherType<String, Symbol>, listener:Function) ‑> Void> = "removeListener"
The 'removeListener'
event is emitted after the listener
is removed.
See also: