MCPcopy Create free account
hub / github.com/TanStack/query / onUnsubscribe

Method onUnsubscribe

packages/query-core/src/subscribable.ts:62–64  ·  view source on GitHub ↗

* Called after a listener is removed. Does nothing here; subclasses override it, e.g. to clean up * once the last listener unsubscribes.

()

Source from the content-addressed store, hash-verified

60 * once the last listener unsubscribes.
61 */
62 protected onUnsubscribe(): void {
63 // Do nothing
64 }
65}

Callers 1

subscribeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected