Skip to content

UseLiveInfiniteQueryReturn

Defined in: useLiveInfiniteQuery.ts:35

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:40


data

ts
data: ComputedRef<InferResultType<TContext>>;

Defined in: useLiveInfiniteQuery.ts:39


fetchNextPage()

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

Defined in: useLiveInfiniteQuery.ts:56

Returns

Promise<void>


hasNextPage

ts
hasNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:57


health

ts
health: ComputedRef<HealthNode | undefined>;

Defined in: useLiveInfiniteQuery.ts:59


isCleanedUp

ts
isCleanedUp: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:51


isCrashed

ts
isCrashed: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:50

Local storage or an invariant broke. Only a cascade cleanup and a fresh start recover.


isFetchingNextPage

ts
isFetchingNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:58


isIdle

ts
isIdle: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:46


isLoading

ts
isLoading: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:44


isLoadingError

ts
isLoadingError: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:48

The first load failed: there is nothing to show.


isReady

ts
isReady: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:45


isSyncError

ts
isSyncError: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:53

The data is shown, and a sync problem or failed request is in health.


pageParams

ts
pageParams: ComputedRef<number[]>;

Defined in: useLiveInfiniteQuery.ts:55


pages

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

Defined in: useLiveInfiniteQuery.ts:54


state

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

Defined in: useLiveInfiniteQuery.ts:38


status

ts
status: ComputedRef<CollectionStatus>;

Defined in: useLiveInfiniteQuery.ts:43