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

Function queryFn

packages/query-core/src/__tests__/queryClient.test.tsx:46–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 const key = createKey()
45
46 const queryFn = () => 'data'
47 const testClient = new QueryClient({
48 defaultOptions: { queries: { queryFn } },
49 })

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
resolveFunction · 0.85

Tested by

no test coverage detected