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

Method prefetchInfiniteQuery

packages/query-core/src/queryClient.ts:407–423  ·  view source on GitHub ↗
(
    options: FetchInfiniteQueryOptions<
      TQueryFnData,
      TError,
      TData,
      TQueryKey,
      TPageParam
    >,
  )

Source from the content-addressed store, hash-verified

405 }
406
407 prefetchInfiniteQuery<
408 TQueryFnData,
409 TError = DefaultError,
410 TData = TQueryFnData,
411 TQueryKey extends QueryKey = QueryKey,
412 TPageParam = unknown,
413 >(
414 options: FetchInfiniteQueryOptions<
415 TQueryFnData,
416 TError,
417 TData,
418 TQueryKey,
419 TPageParam
420 >,
421 ): Promise<void> {
422 return this.fetchInfiniteQuery(options).then(noop).catch(noop)
423 }
424
425 ensureInfiniteQueryData<
426 TQueryFnData,

Callers 8

ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45

Calls 1

fetchInfiniteQueryMethod · 0.95

Tested by

no test coverage detected