Skip to main content

UseLiveInfiniteQueryReturn

还没翻译译自英文(tanstack.com)本页 44 段都还没译

Defined in: useLiveInfiniteQuery.ts:48

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


data

data: ComputedRef<InferResultType<TContext>>;

Defined in: useLiveInfiniteQuery.ts:52


error

error: ComputedRef<unknown>;

Defined in: useLiveInfiniteQuery.ts:70


fetchNextPage()

fetchNextPage: () => Promise<void>;

Defined in: useLiveInfiniteQuery.ts:67

Returns

Promise<void>


hasNextPage

hasNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:68


isCleanedUp

isCleanedUp: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:64


isError

isError: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:63


isFetchingNextPage

isFetchingNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:69


isIdle

isIdle: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:62


isLoading

isLoading: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:57


isPersistedReady

isPersistedReady: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:60


isReady

isReady: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:58


pageParams

pageParams: ComputedRef<number[]>;

Defined in: useLiveInfiniteQuery.ts:66


pages

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

Defined in: useLiveInfiniteQuery.ts:65


persistedError

persistedError: ComputedRef<unknown>;

Defined in: useLiveInfiniteQuery.ts:61


persistedStatus

persistedStatus: ComputedRef<LiveQueryPersistedStatus>;

Defined in: useLiveInfiniteQuery.ts:59


state

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

Defined in: useLiveInfiniteQuery.ts:51


status

status: ComputedRef<CollectionStatus>;

Defined in: useLiveInfiniteQuery.ts:56