* @deprecated Use queryClient.query(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version.
(
options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>,
)
| 424 | * @deprecated Use queryClient.query(options) instead. You can swallow errors with `.catch(noop)`. This method will be removed in the next major version. |
| 425 | */ |
| 426 | prefetchQuery< |
| 427 | TQueryFnData = unknown, |
| 428 | TError = DefaultError, |
| 429 | TData = TQueryFnData, |
| 430 | TQueryKey extends QueryKey = QueryKey, |
| 431 | >( |
| 432 | options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>, |
| 433 | ): Promise<void> { |
| 434 | return this.fetchQuery(options).then(noop).catch(noop) |
| 435 | } |
| 436 | |
| 437 | infiniteQuery< |
| 438 | TQueryFnData, |
no test coverage detected