Subscription

The object returned from store.subscribe(). A subscription object has a single unsubscribe() method used to stop listening for changes to the store.

Definition

interface Subscription {
  unsubscribe(): void
}

unsubscribe - A function used to unsubscribe from receiving notifications of state updates.

Notes

Subscriptions are created when registering subscribers.

results matching ""

    No results matching ""