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

Method computeValue

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

Source from the content-addressed store, hash-verified

101 }
102
103 private computeValue(): number {
104 if (!this.queryClient) {
105 return 0
106 }
107
108 return this.queryClient.isMutating(readAccessor(this.filters))
109 }
110}
111
112/**

Callers 5

constructorMethod · 0.95
onConnectedMethod · 0.95
onHostUpdateMethod · 0.95
onQueryClientChangedMethod · 0.95
subscribeMethod · 0.95

Calls 2

readAccessorFunction · 0.85
isMutatingMethod · 0.45

Tested by

no test coverage detected