TanStack

UseLiveInfiniteQueryReturn

Interface: UseLiveInfiniteQueryReturn<TContext>

Defined in: useLiveInfiniteQuery.ts:56

Type Parameters

TContext

TContext extends Context & NonSingleResult

Properties

collection

ts
collection: ComputedRef<Collection<{ [K in string | number | symbol]: ResultValue<TContext>[K] }, string | number, UtilsRecord, StandardSchemaV1<unknown, unknown>, { [K in string | number | symbol]: ResultValue<TContext>[K] }>>;

Defined in: useLiveInfiniteQuery.ts:61


data

ts
data: ComputedRef<InferResultType<TContext>>;

Defined in: useLiveInfiniteQuery.ts:60


error

ts
error: ComputedRef<unknown>;

Defined in: useLiveInfiniteQuery.ts:75


fetchNextPage()

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

Defined in: useLiveInfiniteQuery.ts:72

Returns

Promise<void>


hasNextPage

ts
hasNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:73


isCleanedUp

ts
isCleanedUp: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:69


isError

ts
isError: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:68


isFetchingNextPage

ts
isFetchingNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:74


isIdle

ts
isIdle: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:67


isLoading

ts
isLoading: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:65


isReady

ts
isReady: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:66


pageParams

ts
pageParams: ComputedRef<number[]>;

Defined in: useLiveInfiniteQuery.ts:71


pages

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

Defined in: useLiveInfiniteQuery.ts:70


state

ts
state: ComputedRef<Map<string | number, { [K in string | number | symbol]: ResultValue<TContext>[K] }>>;

Defined in: useLiveInfiniteQuery.ts:59


status

ts
status: ComputedRef<CollectionStatus>;

Defined in: useLiveInfiniteQuery.ts:64