Create a subscribable that will apply the specified filter to any listeners added.
function used to filter events
Rest
...args: Argsfiltered Subscription
Create an iterator that supports async iteration of events emitted.
Optional
options: EventIteratorOptionsoptions for this iterator
iterable/iterator
Subscribe to this event using the given listener. The listener will be invoked any time the event is emitted. The returned handle can be used to unsubscribe.
listener to subscribe
handle to the subscription, can be used to unsubscribe
Unsubscribe a listener from this handler. The specified listener will no longer be invoked when the event is emitted.
listener to unsubscribe
Create a Subscribable that changes the this argument used for listeners.
what should be treated as this for event listeners
modified Subscribable
Generated using TypeDoc
Functions used to subscribe and unsubscribe to an event.