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

Method computeValue

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

Source from the content-addressed store, hash-verified

105 }
106
107 private computeValue(): number {
108 if (!this.queryClient) {
109 return 0
110 }
111
112 return this.queryClient.isMutating(readAccessor(this.filters))
113 }
114}
115
116/**

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