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

Function Two

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

Source from the content-addressed store, hash-verified

138 }
139
140 function Two() {
141 useQuery(() => ({
142 queryKey: key2,
143 queryFn: () => sleep(20).then(() => 'test'),
144 }))
145
146 return null
147 }
148
149 function Page() {
150 const [started, setStarted] = createSignal(false)

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected