MCPcopy
hub / github.com/TanStack/query / scopeFor

Function scopeFor

packages/query-core/src/mutationCache.ts:242–244  ·  view source on GitHub ↗
(mutation: Mutation<any, any, any, any>)

Source from the content-addressed store, hash-verified

240}
241
242function scopeFor(mutation: Mutation<any, any, any, any>) {
243 return mutation.options.scope?.id
244}

Callers 4

addMethod · 0.85
removeMethod · 0.85
canRunMethod · 0.85
runNextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…