Skip to main content
Version: 2.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,
}
);

Argumentsโ€‹

See fetchInfiniteQuery for the list of arguments.

Returnsโ€‹

Promise<void> - a promise that resolves when the query is successfully fetched