The listener function will be call when the event happens.
Optional
thisArgs: anyThe 'this' which will be used when calling the event listener.
Optional
disposables: Disposable[]An array to which a {{IDisposable}} will be added.
a disposable to remove the listener again.
Represents a typed event.