infiniteQueryOptions

Function: infiniteQueryOptions()

ts
function infiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>(options): CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>;
function infiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>(options): CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>;

Defined in: packages/svelte-query/src/infiniteQueryOptions.ts:4

Type Parameters

TQueryFnData

TQueryFnData

TError

TError = Error

TData

TData = InfiniteData<TQueryFnData, unknown>

TQueryKey

TQueryKey extends readonly unknown[] = readonly unknown[]

TPageParam

TPageParam = unknown

Parameters

options

CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>

Returns

CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>