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

Method onHostUpdate

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

Source from the content-addressed store, hash-verified

52 }
53
54 protected onHostUpdate(): void {
55 if (typeof this.filters !== 'function') {
56 return
57 }
58
59 this.setResult(this.syncClient() ? this.computeValue() : 0)
60 }
61
62 protected onQueryClientChanged(): void {
63 if (!this.syncClient()) {

Callers

nothing calls this directly

Calls 2

syncClientMethod · 0.95
computeValueMethod · 0.95

Tested by

no test coverage detected