Interface SubscriptionHandler
Methods
subscribe
- subscribe(emitter, event, cb): void
Parameters
emitter: object
event: string
cb: (() => void)
Returns void
subscribeOnce
- subscribeOnce(emitter, event, cb): void
Parameters
emitter: object
event: string
cb: (() => void)
Returns void
unsubscribe
- unsubscribe(emitter, event, cb): void
Parameters
emitter: object
event: string
cb: (() => void)
Returns void