type of the event payload.
Fires the event.
event payload.
Fires the event asynchronously.
event payload.
Subscribes to the event.
a function to call when the event has been fired.
a token used to cancel the event subscription.
handler
returns a PromiseLike value, depending on how the EventEmitter.invokeAsync is called,
your event handler might be called concurrently (the 2nd invocation starts before the 1st invocation ends).
Expose ability to emit and subscribe to a single type of event.