UseLiveInfiniteQueryReturn
Defined in: useLiveInfiniteQuery.ts:35
Type Parameters#
TContext#
TContext extends Context & NonSingleResult
Properties#
collection#
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#
data: ComputedRef<InferResultType<TContext>>;Defined in: useLiveInfiniteQuery.ts:39
fetchNextPage()#
fetchNextPage: () => Promise<void>;Defined in: useLiveInfiniteQuery.ts:56
Returns#
Promise<void>
hasNextPage#
hasNextPage: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:57
health#
health: ComputedRef<HealthNode | undefined>;Defined in: useLiveInfiniteQuery.ts:59
isCleanedUp#
isCleanedUp: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:51
isCrashed#
isCrashed: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:50
Local storage or an invariant broke. Only a cascade cleanup and a fresh start recover.
isFetchingNextPage#
isFetchingNextPage: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:58
isIdle#
isIdle: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:46
isLoading#
isLoading: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:44
isLoadingError#
isLoadingError: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:48
The first load failed: there is nothing to show.
isReady#
isReady: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:45
isSyncError#
isSyncError: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:53
The data is shown, and a sync problem or failed request is in health.
pageParams#
pageParams: ComputedRef<number[]>;Defined in: useLiveInfiniteQuery.ts:55
pages#
pages: ComputedRef<InferResultType<TContext>[number][][]>;Defined in: useLiveInfiniteQuery.ts:54
state#
state: ComputedRef<Map<string | number, { [K in string | number | symbol]: ResultValue<TContext>[K] }>>;Defined in: useLiveInfiniteQuery.ts:38
status#
status: ComputedRef<CollectionStatus>;Defined in: useLiveInfiniteQuery.ts:43