Get the current number of listeners.
Dispose of the emitter and all listeners.
Fire the event, notifying all listeners.
The event data to send to listeners
Subscribe to the event, but only fire once.
Callback to invoke once
Disposable to cancel before the event fires
Emits events to registered listeners.
Example