AbstractA type representing the events that the instance can emit and listen to.
A type representing the events that the instance can emit and listen to.
Adds an event listener for a specific event.
The type of the event key.
An EventHandle with a remove method to unsubscribe the listener.
Simple event emitter class that allows adding event listeners and emitting events. Events can be emitted by accessing the protected
emitterfield.