Properties
unsubscribe()
unsubscribe: () =>void
Removes the subscription. Used to de-register the listener.
Call this before destroying the client component.
Returns
void
Represents a subscription that can be used to subscribe to various things.
void
Removes the subscription. Used to de-register the listener.
Call this before destroying the client component.
void