Unsubscribe: (() => void)

A function that can be called to stop listening to an event.

Type declaration

    • (): void
    • Returns void