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

Method onHostUpdate

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

Source from the content-addressed store, hash-verified

48 }
49
50 protected override onHostUpdate(): void {
51 if (typeof this.filters !== 'function') {
52 return
53 }
54
55 this.setResult(this.syncClient() ? this.computeValue() : 0)
56 }
57
58 protected override onQueryClientChanged(): void {
59 if (!this.syncClient()) {

Callers

nothing calls this directly

Calls 2

syncClientMethod · 0.95
computeValueMethod · 0.95

Tested by

no test coverage detected