* @deprecated Use queryClient.infiniteQuery({ ...options, staleTime: 'static' }) instead. This method will be removed in the next major version.
(
options: EnsureInfiniteQueryDataOptions<
TQueryFnData,
TError,
TData,
TQueryKey,
TPageParam
>,
)
| 504 | * @deprecated Use queryClient.infiniteQuery({ ...options, staleTime: 'static' }) instead. This method will be removed in the next major version. |
| 505 | */ |
| 506 | ensureInfiniteQueryData< |
| 507 | TQueryFnData, |
| 508 | TError = DefaultError, |
| 509 | TData = TQueryFnData, |
| 510 | TQueryKey extends QueryKey = QueryKey, |
| 511 | TPageParam = unknown, |
| 512 | >( |
| 513 | options: EnsureInfiniteQueryDataOptions< |
| 514 | TQueryFnData, |
| 515 | TError, |
| 516 | TData, |
| 517 | TQueryKey, |
| 518 | TPageParam |
| 519 | >, |
| 520 | ): Promise<InfiniteData<TData, TPageParam>> { |
| 521 | options._type = 'infinite' |
| 522 | |
| 523 | return this.ensureQueryData(options as any) |
| 524 | } |
| 525 | |
| 526 | resumePausedMutations(): Promise<unknown> { |
| 527 | if (onlineManager.isOnline()) { |
no test coverage detected