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

Function Two

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

Source from the content-addressed store, hash-verified

153 }
154
155 function Two() {
156 useQuery(() => ({
157 queryKey: key2,
158 queryFn: () => sleep(20).then(() => 'test'),
159 }))
160
161 return null
162 }
163
164 function Page() {
165 const [started, setStarted] = createSignal(false)

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected