Optional
all: EventHandlerMap<Events>Invoke all handlers for the given type.
If present, '*'
handlers are invoked after type-matched handlers.
Note: Manually firing '*'
handlers is not supported.
Remove an event handler for the given type.
If handler
is omitted, all handlers of the given type are removed.
Remove all event handlers.
Register an event handler for the given type.
Register an event handler for all events.
'*'
Function to call in response to given event
Event emitter class.