Class MutationObserver<TData, TError, TVariables, TContext>

Type Parameters

  • TData = unknown

  • TError = unknown

  • TVariables = void

  • TContext = unknown

Hierarchy

Constructors

  • Type Parameters

    • TData = unknown

    • TError = unknown

    • TVariables = void

    • TContext = unknown

    Parameters

    Returns MutationObserver<TData, TError, TVariables, TContext>

Properties

client: any
currentMutation?: any
currentResult: any
listeners: Set<{
    listener: MutationObserverListener<TData, TError, TVariables, TContext>;
}>

Type declaration

mutateOptions?: any
notify: any
options: MutationObserverOptions<TData, TError, TVariables, TContext>
updateResult: any

Methods

  • Returns void

  • Returns MutationObserverResult<TData, TError, TVariables, TContext>

  • Returns boolean

  • Parameters

    • Optional variables: TVariables
    • Optional options: MutateOptions<TData, TError, TVariables, TContext>

    Returns Promise<TData>

  • Parameters

    • action: Action<TData, TError, TVariables, TContext>

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc