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

Type representing an unsubscribe function.

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

      A promise that resolves when the unsubscribe operation is complete.