Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

InfiniteQueryObserverBaseResult

interface InfiniteQueryObserverBaseResult <TData = unknown, TError = unknown> extends QueryObserverBaseResult<InfiniteData<TData>, TError> {
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<TData, TError>>;
fetchPreviousPage: (options?: FetchPreviousPageOptions) => Promise<InfiniteQueryObserverResult<TData, TError>>;
hasNextPage?: boolean;
hasPreviousPage?: boolean;
isFetchingNextPage: boolean;
isFetchingPreviousPage: boolean;
}

§Type Parameters

§
TData = unknown
[src]
§
TError = unknown
[src]

§Extends

§Properties

§
fetchNextPage: (options?: FetchNextPageOptions) => Promise<InfiniteQueryObserverResult<TData, TError>>
[src]
§
fetchPreviousPage: (options?: FetchPreviousPageOptions) => Promise<InfiniteQueryObserverResult<TData, TError>>
[src]
§
hasNextPage?: boolean
[src]
§
hasPreviousPage?: boolean
[src]
§
isFetchingNextPage: boolean
[src]
§
isFetchingPreviousPage: boolean
[src]