Type Parameters

Hierarchy

  • Subscription

Methods

Properties

Methods

Properties

subscribe: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Can be used to re-subscribe with the same parameters.

      Returns Promise<void>

unsubscribe: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Unsubscribes the subscription.

      Returns Promise<void>