Interface QueryObserverLoadingResult<TData, TError>

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

Type Parameters

  • TData = unknown

  • TError = unknown

Hierarchy

Properties

data: undefined
dataUpdatedAt: number
error: null
errorUpdateCount: number
errorUpdatedAt: number
failureCount: number
failureReason: null | TError
fetchStatus: FetchStatus
isError: false
isFetched: boolean
isFetchedAfterMount: boolean
isFetching: boolean
isInitialLoading: boolean
isLoading: true
isLoadingError: false
isPaused: boolean
isPlaceholderData: boolean
isPreviousData: boolean
isRefetchError: false
isRefetching: boolean
isStale: boolean
isSuccess: false
refetch: (<TPageData>(options?) => Promise<QueryObserverResult<TData, TError>>)

Type declaration

remove: (() => void)

Type declaration

    • (): void
    • Returns void

status: "loading"

Generated using TypeDoc