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

Function queryFn

packages/query-core/src/__tests__/infiniteQueryBehavior.test.tsx:487–490  ·  view source on GitHub ↗
({ pageParam }: { pageParam: unknown })

Source from the content-addressed store, hash-verified

485 const key = createKey()
486 const pageParams: Array<unknown> = []
487 const queryFn = ({ pageParam }: { pageParam: unknown }) => {
488 pageParams.push(pageParam)
489 return String(pageParam)
490 }
491
492 await queryClient.infiniteQuery({
493 queryKey: key,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected