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

Function One

packages/solid-query/src/__tests__/useIsFetching.test.tsx:146–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 const isFetchingArray: Array<number> = []
145
146 function One() {
147 useQuery(() => ({
148 queryKey: key1,
149 queryFn: () => sleep(10).then(() => 'test'),
150 }))
151
152 return null
153 }
154
155 function Two() {
156 useQuery(() => ({

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected