type InfiniteQueryResultAccessor<TData, TError> = ValueAccessor<InfiniteQueryObserverResult<TData, TError>> & object;type InfiniteQueryResultAccessor<TData, TError> = ValueAccessor<InfiniteQueryObserverResult<TData, TError>> & object;Defined in: packages/lit-query/src/createInfiniteQueryController.ts:48
Accessor returned by createInfiniteQueryController.
Call the accessor or read its current property to get the latest infinite query result. The attached methods delegate to the active infinite query observer.
destroy: () => void;destroy: () => void;Removes the controller from its Lit host and unsubscribes observers.
void
fetchNextPage: InfiniteQueryObserverResult<TData, TError>["fetchNextPage"];fetchNextPage: InfiniteQueryObserverResult<TData, TError>["fetchNextPage"];Fetches the next page for the current infinite query.
fetchPreviousPage: InfiniteQueryObserverResult<TData, TError>["fetchPreviousPage"];fetchPreviousPage: InfiniteQueryObserverResult<TData, TError>["fetchPreviousPage"];Fetches the previous page for the current infinite query.
refetch: InfiniteQueryObserverResult<TData, TError>["refetch"];refetch: InfiniteQueryObserverResult<TData, TError>["refetch"];Refetches the current infinite query.
TData
TError