Represents a typed event.
The listener function will be call when the event happens.
The 'this' which will be used when calling the event listener.
An array to which a {{IDisposable}} will be added.
a disposable to remove the listener again.
An emitter will print a warning if more listeners are added for this event. The event.maxListeners allows the limit to be modified for this specific event. The value can be set to 0 to indicate an unlimited number of listener.
Represents a typed event.