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

Class Host

packages/angular-query/src/__tests__/mutation-options.test.ts:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 })
58
59 @Component({ template: '' })
60 class Host {
61 readonly mutation = injectMutation(() => mutationOpts)
62 readonly isMutating = injectIsMutating()
63 }
64 const fixture = TestBed.createComponent(Host)
65 fixture.detectChanges()
66 const { mutation, isMutating } = fixture.componentInstance

Callers

nothing calls this directly

Calls 3

injectMutationFunction · 0.85
injectIsMutatingFunction · 0.85
ComponentFunction · 0.50

Tested by

no test coverage detected