Table of Contents

Interface IAppStateMachineService.IAppStateMachineSetStateBuilder<T>

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll
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

IAppStateMachineService.IAppStateMachineSetStateBuilder<T>

ApplyAsync()

Task<IAppStateMachineService.AppStateMachineSetStateResult<T>> ApplyAsync()

Returns

Task<IAppStateMachineService.AppStateMachineSetStateResult<T>>

ApplyAsync(CancellationToken)

Task<IAppStateMachineService.AppStateMachineSetStateResult<T>> ApplyAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<IAppStateMachineService.AppStateMachineSetStateResult<T>>

GetAwaiter()

TaskAwaiter<IAppStateMachineService.AppStateMachineSetStateResult<T>> GetAwaiter()

Returns

TaskAwaiter<IAppStateMachineService.AppStateMachineSetStateResult<T>>

WithRetries(int?)

Retries for failed state processing, before declaring it Faulted.

IAppStateMachineService.IAppStateMachineSetStateBuilder<T> WithRetries(int? retries)

Parameters

retries int?

times to retry

Returns

IAppStateMachineService.IAppStateMachineSetStateBuilder<T>