* @deprecated Use queryClient.infiniteQuery(options) instead. This method will be removed in the next major version.
(
options: FetchInfiniteQueryOptions<
TQueryFnData,
TError,
TData,
TQueryKey,
TPageParam
>,
)
| 461 | * @deprecated Use queryClient.infiniteQuery(options) instead. This method will be removed in the next major version. |
| 462 | */ |
| 463 | fetchInfiniteQuery< |
| 464 | TQueryFnData, |
| 465 | TError = DefaultError, |
| 466 | TData = TQueryFnData, |
| 467 | TQueryKey extends QueryKey = QueryKey, |
| 468 | TPageParam = unknown, |
| 469 | >( |
| 470 | options: FetchInfiniteQueryOptions< |
| 471 | TQueryFnData, |
| 472 | TError, |
| 473 | TData, |
| 474 | TQueryKey, |
| 475 | TPageParam |
| 476 | >, |
| 477 | ): Promise<InfiniteData<TData, TPageParam>> { |
| 478 | options._type = 'infinite' |
| 479 | return this.fetchQuery(options as any) |
| 480 | } |
| 481 | |
| 482 | /** |
| 483 | * @deprecated Use queryClient.infiniteQuery(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version. |
no test coverage detected