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

Method onDisconnected

packages/lit-query/src/useIsMutating.ts:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 protected override onDisconnected(): void {
45 this.unsubscribe?.()
46 this.unsubscribe = undefined
47 this.syncClient()
48 }
49
50 protected override onHostUpdate(): void {
51 if (typeof this.filters !== 'function') {

Callers

nothing calls this directly

Calls 2

syncClientMethod · 0.95
unsubscribeMethod · 0.80

Tested by

no test coverage detected