Skip to content

ITransactionalState<TState>.PerformUpdate(Func<TState, TResult>)

PerformUpdate(Func<TState, TResult>)

abstract
public abstract Task<TResult> PerformUpdate<TResult>(Func<TState, TResult> updateFunction)
Performs an update operation and returns the result.

Parameters

updateFunctionFunc<TState, TResult>
A function that can read and update the state, and return a result