Skip to content

TransactionalStateExtensions.PerformUpdate(ITransactionalState<TState>, Action<TState>)

PerformUpdate(ITransactionalState<TState>, Action<TState>)

staticextension
View source
public static Task PerformUpdate<TState>(this ITransactionalState<TState> transactionalState, Action<TState> updateAction)
Performs an update operation, without returning any result.

Parameters

transactionalStateITransactionalState<TState>
Transactional state to perform update upon.
updateActionAction<TState>
An action that updates the state.