The type of elements in the event emitter.
The function to add a listener to the source.
Rest
...args: any[]The function to remove a listener from the source.
Rest
...args: any[]Optional
resultSelector: ((...args) => TSource)Rest
...args: any[]An async-iterable which contains the data from the underlying events as wrapped by the handlers.
Generated using TypeDoc
Creates async-iterable from an event emitter by adding handlers for both listening and unsubscribing from events.