Skip to main content
Version: 1.x

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