UseLiveInfiniteQueryReturn

Type Alias: UseLiveInfiniteQueryReturn<TContext>

ts
type UseLiveInfiniteQueryReturn<TContext> = Omit<ReturnType<typeof useLiveQuery>, "data"> & object;
type UseLiveInfiniteQueryReturn<TContext> = Omit<ReturnType<typeof useLiveQuery>, "data"> & object;

Defined in: useLiveInfiniteQuery.ts:39

Type Declaration

data

ts
data: InferResultType<TContext>;
data: InferResultType<TContext>;

fetchNextPage()

ts
fetchNextPage: () => void;
fetchNextPage: () => void;

Returns

void

hasNextPage

ts
hasNextPage: boolean;
hasNextPage: boolean;

isFetchingNextPage

ts
isFetchingNextPage: boolean;
isFetchingNextPage: boolean;

pageParams

ts
pageParams: number[];
pageParams: number[];

pages

ts
pages: InferResultType<TContext>[number][][];
pages: InferResultType<TContext>[number][][];

Type Parameters

TContext

TContext extends Context