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

Method prefetchInfiniteQuery

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

Source from the content-addressed store, hash-verified

398 }
399
400 prefetchInfiniteQuery<
401 TQueryFnData,
402 TError = DefaultError,
403 TData = TQueryFnData,
404 TQueryKey extends QueryKey = QueryKey,
405 TPageParam = unknown,
406 >(
407 options: FetchInfiniteQueryOptions<
408 TQueryFnData,
409 TError,
410 TData,
411 TQueryKey,
412 TPageParam
413 >,
414 ): Promise<void> {
415 return this.fetchInfiniteQuery(options).then(noop).catch(noop)
416 }
417
418 ensureInfiniteQueryData<
419 TQueryFnData,

Callers 9

ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
ExamplesFunction · 0.45
hydration.test.tsxFile · 0.45

Calls 1

fetchInfiniteQueryMethod · 0.95

Tested by

no test coverage detected