Class Mutation<TData, TError, TVariables, TContext>

Type Parameters

  • TData = unknown

  • TError = unknown

  • TVariables = void

  • TContext = unknown

Hierarchy

Accessors

  • get meta(): undefined | MutationMeta
  • Returns undefined | MutationMeta

Constructors

  • Type Parameters

    • TData = unknown

    • TError = unknown

    • TVariables = void

    • TContext = unknown

    Parameters

    Returns Mutation<TData, TError, TVariables, TContext>

Methods

  • Parameters

    Returns void

  • Returns void

  • Returns Promise<unknown>

  • Returns void

  • Returns Promise<TData>

  • Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • newCacheTime: undefined | number

    Returns void

Properties

cacheTime: number
defaultOptions?: any
dispatch: any
logger: any
mutationCache: any
mutationId: number
observers: any
options: MutationOptions<TData, TError, TVariables, TContext>
retryer?: any
state: MutationState<TData, TError, TVariables, TContext>