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

Class

packages/angular-query/src/__tests__/inject-mutation.test.ts:643–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641 template: `<div>data: {{ mutation.data() ?? 'none' }}</div>`,
642 })
643 class Page {
644 readonly mutation = injectMutation(() => ({
645 mutationFn: (_text: string, context) =>
646 sleep(10).then(() => context.client.getQueryData(key)),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected