dispatchMutateResult

inline suspend fun <T, S> MutationCommand.Context<T>.dispatchMutateResult(key: MutationKey<T, S>, variable: S, marker: Marker, noinline callback: MutationCallback<T>?)

Dispatches the mutation result.

Parameters

key

Instance of a class implementing MutationKey.

variable

The variable to be mutated.

marker

The marker with additional information based on the caller of a mutation.

callback

The callback to receive the result of the mutation.