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

Function queryFn

packages/vue-query/src/__tests__/useQuery.test.ts:28–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 test('should properly execute query', () => {
28 const queryFn = () => sleep(0).then(() => 'Some data')
29
30 useQuery({
31 queryKey: ['key0'],

Callers

nothing calls this directly

Calls 1

sleepFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…