Add listener to the dispatcher's event named type.
Calls every listeners registered to type event.
Remove all listeners. If type is specified, remove all listeners of type.
Remove the listener from the dispatcher.
Returns true if listener is removed, otherwise returns false.
Generated using TypeDoc
An event emitter which calls registered callback functions named
listenerwith an event.