Private
contentAdd an event listener that will be called when an event that matches provided filter is received
filter that should match emited events to call provided function
Optional
cancel?: stringOptional
payload?: anyOptional
request?: stringcallback to invoke on each new match.
Rest
...args: string[]Private
matchCheck if given data matches provided filter.
true if item matches filter.
tested element.
tested filter.
Optional
cancel?: stringOptional
payload?: anyOptional
request?: stringGenerated using TypeDoc
Like an EventEmitter, instances of this class allow us register and unregister listeners for events, but it allows listening for those messages that match a pattern.
Example