Interface MutationObserverLoadingResult<TData, TError, TVariables, TContext>

Type Parameters

  • TData = unknown

  • TError = unknown

  • TVariables = void

  • TContext = unknown

Hierarchy

Properties

context: undefined | TContext
data: undefined
error: null
failureCount: number
failureReason: null | TError
isError: false
isIdle: false
isLoading: true
isPaused: boolean
isSuccess: false
mutate: MutateFunction<TData, TError, TVariables, TContext>
reset: (() => void)

Type declaration

    • (): void
    • Returns void

status: "loading"
variables: undefined | TVariables