Interface IAppStateMachineService.IAppStateMachineSetStateBuilder<T>
public interface IAppStateMachineService.IAppStateMachineSetStateBuilder<T> : IAppStateMachineService.IAppStateMachineSetStateBuilder where T : struct, Enum
Type Parameters
T
Methods
AllowSameStateTransition()
Allow the next transition to be to the same state as current state.
IAppStateMachineService.IAppStateMachineSetStateBuilder<T> AllowSameStateTransition()
Returns
ApplyAsync()
Task<IAppStateMachineService.AppStateMachineSetStateResult<T>> ApplyAsync()
Returns
ApplyAsync(CancellationToken)
Task<IAppStateMachineService.AppStateMachineSetStateResult<T>> ApplyAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
GetAwaiter()
TaskAwaiter<IAppStateMachineService.AppStateMachineSetStateResult<T>> GetAwaiter()
Returns
WithRetries(int?)
Retries for failed state processing, before declaring it Faulted.
IAppStateMachineService.IAppStateMachineSetStateBuilder<T> WithRetries(int? retries)
Parameters
retries
int?times to retry