A function that represents an event to which you subscribe by calling it with a listener function as argument.
The listener function will be called when the event happens.
OptionalthisArgs: anyThe this-argument which will be used when calling the event listener.
Optionaldisposables: Disposable[]An array to which a Disposable will be added.
A disposable which unsubscribes the event listener.
Represents a typed event.
A function that represents an event to which you subscribe by calling it with a listener function as argument.
Example