* @deprecated Use queryClient.infiniteQuery(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version.
(
options: FetchInfiniteQueryOptions<
TQueryFnData,
TError,
TData,
TQueryKey,
TPageParam
>,
)
| 483 | * @deprecated Use queryClient.infiniteQuery(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version. |
| 484 | */ |
| 485 | prefetchInfiniteQuery< |
| 486 | TQueryFnData, |
| 487 | TError = DefaultError, |
| 488 | TData = TQueryFnData, |
| 489 | TQueryKey extends QueryKey = QueryKey, |
| 490 | TPageParam = unknown, |
| 491 | >( |
| 492 | options: FetchInfiniteQueryOptions< |
| 493 | TQueryFnData, |
| 494 | TError, |
| 495 | TData, |
| 496 | TQueryKey, |
| 497 | TPageParam |
| 498 | >, |
| 499 | ): Promise<void> { |
| 500 | return this.fetchInfiniteQuery(options).then(noop).catch(noop) |
| 501 | } |
| 502 | |
| 503 | /** |
| 504 | * @deprecated Use queryClient.infiniteQuery({ ...options, staleTime: 'static' }) instead. This method will be removed in the next major version. |
no test coverage detected