Events allow for applications to use the observer pattern, which allows subscribing and publishing events, outside the normal execution paths.
A callback function called when a an event is triggered.
An EventEmitterable behaves similar to an EventEmitter except provides async access to its methods.
An EventEmitter implements the observer pattern.
Alias for on.
Triggers each listener for event with the args.
Resolves to the number of listeners for event.
Resolves to the listeners for event.
Unregister the listener for event. If listener is unspecified, all listeners are unregistered.
Registers a listener that is called whenever the event occurs until unregistered.
Registers a listener that is called the next time event occurs.
Unregister all listeners for event.
Alias for off.
When an EventEmitterable triggers a Listener, the callback always ahas one additional argument passed, which is an EventPayload.
The event filter.
Create a new EventPayload for emitter with the listener and for filter.
Unregister the triggered listener for future events.