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

Class App

integrations/angular-cli-20/src/app/app.ts:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 `,
17})
18export class App {
19 query = injectQuery(() => ({
20 queryKey: ['test'],
21 queryFn: async () => {
22 await new Promise((r) => setTimeout(r, 1000))
23 return 'Success'
24 },
25 }))
26}

Callers

nothing calls this directly

Calls 1

injectQueryFunction · 0.90

Tested by

no test coverage detected