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.
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.
When an EventEmitterable triggers a Listener, the callback always ahas one additional argument passed, which is an EventPayload.
The EventEmitterable.
The event filter.
Create a new EventPayload for emitter with the listener and for filter.
Unregister the triggered listener for future events.