UseLiveInfiniteQueryConfig

Type Alias: UseLiveInfiniteQueryConfig<TContext>

ts
type UseLiveInfiniteQueryConfig<TContext> = object;
type UseLiveInfiniteQueryConfig<TContext> = object;

Defined in: useLiveInfiniteQuery.ts:23

Type Parameters

TContext

TContext extends Context

Properties

getNextPageParam()?

ts
optional getNextPageParam: (lastPage, allPages, lastPageParam, allPageParams) => number | undefined;
optional getNextPageParam: (lastPage, allPages, lastPageParam, allPageParams) => number | undefined;

Defined in: useLiveInfiniteQuery.ts:31

Parameters

lastPage

InferResultType<TContext>[number][]

allPages

InferResultType<TContext>[number][][]

lastPageParam

number

allPageParams

number[]

Returns

number | undefined

Deprecated

This callback is not used by the current implementation. Pagination is determined internally via a peek-ahead strategy. Provided for API compatibility with TanStack Query conventions.


initialPageParam?

ts
optional initialPageParam: number;
optional initialPageParam: number;

Defined in: useLiveInfiniteQuery.ts:25


pageSize?

ts
optional pageSize: number;
optional pageSize: number;

Defined in: useLiveInfiniteQuery.ts:24