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

Function fetchFn

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

Source from the content-addressed store, hash-verified

793 const key: StrictQueryKey = ['strict', ...createKey()]
794
795 const fetchFn: QueryFunction<StrictData, StrictQueryKey> = () =>
796 Promise.resolve('data')
797
798 await expect(
799 // oxlint-disable-next-line tanstack-query/no-restricted-syntax -- grandfathered direct test

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected