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: any[]Private
matchCheck if given data matches provided filter.
tested element.
tested filter.
Optional
cancel?: stringOptional
payload?: anyOptional
request?: stringtrue if item matches filter.
Generated 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