Adds a listener and returns an unsubscribe function.
Optional
Optional number of times to receive the event before automatically unsubscribing.
Generated using TypeDoc
Adds a listener and returns an unsubscribe function.
Returns