Interface SubscriptionHandler

interface SubscriptionHandler {
    subscribe(emitter, event, cb): void;
    subscribeOnce(emitter, event, cb): void;
    unsubscribe(emitter, event, cb): void;
}

Methods

  • Parameters

    • emitter: object
    • event: string
    • cb: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • emitter: object
    • event: string
    • cb: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • emitter: object
    • event: string
    • cb: (() => void)
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc