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

Function settled

packages/angular-query/src/inject-mutation.ts:220–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 // Track invocations, not the observer's latest result: reset or a later
219 // mutation completing must not release work which is still running.
220 const settled = () => {
221 pendingInvocations--
222 lifecycle.setPending(pendingInvocations > 0)
223 }
224 try {
225 return observer
226 .mutate(args[0] as TVariables, args[1])

Callers 1

mutateAsyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected