Private
addressPrivate
dependenciesPrivate
pendingPrivate
pendingPrivate
pingPrivate
socketAdd 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
onOptional
id: string
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