MCPcopy Index your code
hub / github.com/TanStack/query / unsubscribe

Function unsubscribe

packages/vue-query/src/useQueries.ts:315–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 const state = shallowRef(getOptimisticResult())
314
315 let unsubscribe = () => {
316 // noop
317 }
318
319 if (client.isRestoring) {
320 watch(

Callers 6

useMutationFunction · 0.70
useMutationStateFunction · 0.70
useQueriesFunction · 0.70
useIsFetchingFunction · 0.70
createBaseQueryFunction · 0.50
injectMutationFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…