* Registers a listener to receive events. * Note: you most likely have to bind the listener to the correct context or specify "this: void" in the listener. * @param listener The listener to register.
(listener: (this: void, ...args: T) => void)
source not stored for this graph (policy: none)