prefetchInfiniteQuery(...)
The method facilitates the fetching of paginated data. See TanStack queryClient.prefetchInfiniteQuery ๐ด documentation for more details.
const result = qraft.<service>.<operation>.prefetchInfiniteQuery(
{
parameters,
requestFn,
baseUrl,
...prefetchInfiniteQueryOptions,
},
queryClient
);
Argumentsโ
See fetchInfiniteQuery for the list of arguments.
Returnsโ
Promise<void>
- a promise that resolves when the query is successfully fetched