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

QueryObserverBaseResult

interface QueryObserverBaseResult <TData = unknown, TError = unknown> {
data: TData | undefined;
dataUpdatedAt: number;
error: TError | null;
errorUpdateCount: number;
errorUpdatedAt: number;
failureCount: number;
failureReason: TError | null;
fetchStatus: FetchStatus;
isError: boolean;
isFetched: boolean;
isFetchedAfterMount: boolean;
isFetching: boolean;
isInitialLoading: boolean;
isLoading: boolean;
isLoadingError: boolean;
isPaused: boolean;
isPlaceholderData: boolean;
isPreviousData: boolean;
isRefetchError: boolean;
isRefetching: boolean;
isStale: boolean;
isSuccess: boolean;
refetch: <TPageData>(options?: RefetchOptions & RefetchQueryFilters<TPageData>) => Promise<QueryObserverResult<TData, TError>>;
remove: () => void;
status: QueryStatus;
}

§Type Parameters

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

§Properties

§
data: TData | undefined
[src]
§
dataUpdatedAt: number
[src]
§
error: TError | null
[src]
§
errorUpdateCount: number
[src]
§
errorUpdatedAt: number
[src]
§
failureCount: number
[src]
§
failureReason: TError | null
[src]
§
fetchStatus: FetchStatus
[src]
§
isError: boolean
[src]
§
isFetched: boolean
[src]
§
isFetchedAfterMount: boolean
[src]
§
isFetching: boolean
[src]
§
isInitialLoading: boolean
[src]
§
isLoading: boolean
[src]
§
isLoadingError: boolean
[src]
§
isPaused: boolean
[src]
§
isPlaceholderData: boolean
[src]
§
isPreviousData: boolean
[src]
§
isRefetchError: boolean
[src]
§
isRefetching: boolean
[src]
§
isStale: boolean
[src]
§
isSuccess: boolean
[src]
§
refetch: <TPageData>(options?: RefetchOptions & RefetchQueryFilters<TPageData>) => Promise<QueryObserverResult<TData, TError>>
[src]
§
remove: () => void
[src]