MCPcopy
hub / github.com/TanStack/query / queryFn

Function queryFn

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

Source from the content-addressed store, hash-verified

36 const key = queryKey()
37
38 const queryFn = () => 'data'
39 const testClient = new QueryClient({
40 defaultOptions: { queries: { queryFn } },
41 })

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
resolveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…