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

MutationState

interface MutationState <TData = unknown, TError = unknown, TVariables = void, TContext = unknown> {
context: TContext | undefined;
data: TData | undefined;
error: TError | null;
failureCount: number;
failureReason: TError | null;
isPaused: boolean;
variables: TVariables | undefined;
}

§Type Parameters

§
TData = unknown
[src]
§
TError = unknown
[src]
§
TVariables = void
[src]
§
TContext = unknown
[src]

§Properties

§
context: TContext | undefined
[src]
§
data: TData | undefined
[src]
§
error: TError | null
[src]
§
failureCount: number
[src]
§
failureReason: TError | null
[src]
§
isPaused: boolean
[src]
§
variables: TVariables | undefined
[src]