Class QueryObserver<TQueryFnData, TError, TData, TQueryData, TQueryKey>

Type Parameters

  • TQueryFnData = unknown

  • TError = unknown

  • TData = TQueryFnData

  • TQueryData = TQueryFnData

  • TQueryKey extends QueryKey = QueryKey

Hierarchy

Constructors

  • Type Parameters

    • TQueryFnData = unknown

    • TError = unknown

    • TData = TQueryFnData

    • TQueryData = TQueryFnData

    • TQueryKey extends QueryKey = QueryKey

    Parameters

    Returns QueryObserver<TQueryFnData, TError, TData, TQueryData, TQueryKey>

Properties

clearRefetchInterval: any
clearStaleTimeout: any
client: any
computeRefetchInterval: any
currentQuery: any
currentQueryInitialState: any
currentRefetchInterval?: any
currentResult: any
currentResultOptions?: any
currentResultState?: any
executeFetch: any
listeners: Set<{
    listener: QueryObserverListener<TData, TError>;
}>

Type declaration

notify: any
options: QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>
previousQueryResult?: any
refetchIntervalId?: any
selectError: any
selectFn?: any
selectResult?: any
staleTimeoutId?: any
trackedProps: any
updateQuery: any
updateRefetchInterval: any
updateStaleTimeout: any
updateTimers: any

Methods

  • Returns void

  • Parameters

    • query: Query<TQueryFnData, TError, TQueryData, TQueryKey>
    • options: QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>

    Returns QueryObserverResult<TData, TError>

  • Returns void

  • Parameters

    Returns Promise<QueryObserverResult<TData, TError>>

  • Returns Query<TQueryFnData, TError, TQueryData, TQueryKey>

  • Returns QueryObserverResult<TData, TError>

  • Returns boolean

  • Parameters

    Returns void

  • Returns void

  • Returns void

  • Type Parameters

    • TPageData

    Parameters

    Returns Promise<QueryObserverResult<TData, TError>>

  • Returns void

  • Parameters

    Returns void

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns (() => void)

      • (): void
      • Returns void

  • Parameters

    Returns void

Generated using TypeDoc