Interface MutationObserverIdleResult<TData, TError, TVariables, TContext>

interface MutationObserverIdleResult {
    context: undefined | TContext;
    data: undefined;
    error: null;
    failureCount: number;
    failureReason: null | TError;
    isError: false;
    isIdle: true;
    isLoading: false;
    isPaused: boolean;
    isSuccess: false;
    mutate: MutateFunction<TData, TError, TVariables, TContext>;
    reset: (() => void);
    status: "idle";
    variables: undefined | TVariables;
}

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: true
isLoading: false
isPaused: boolean
isSuccess: false
mutate: MutateFunction<TData, TError, TVariables, TContext>
reset: (() => void)

Type declaration

    • (): void
    • Returns void

status: "idle"
variables: undefined | TVariables

Generated using TypeDoc