Type alias AsyncUnsubscribeFunction<This, Args>

AsyncUnsubscribeFunction<This, Args>: ((listener) => Promise<void>)

Type Parameters

  • This

  • Args extends any[]

Type declaration

    • (listener): Promise<void>
    • Function used to unsubscribe a listener, should return if the listener was subscribed or not.

      Parameters

      Returns Promise<void>

Generated using TypeDoc