Interface SagaStateMachine<TSaga>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface SagaStateMachine<TSaga> : StateMachine<TSaga>, StateMachine, IVisitable, IProbeSite where TSaga : class, SagaStateMachineInstance
Type Parameters
TSaga
- Inherited Members
- Extension Methods
Properties
Correlations
Returns the event correlations for the state machine
IEnumerable<EventCorrelation> Correlations { get; }
Property Value
Methods
IsCompleted(BehaviorContext<TSaga>)
Returns true if the saga state machine instance is complete and can be removed from the repository
Task<bool> IsCompleted(BehaviorContext<TSaga> context)
Parameters
context
BehaviorContext<TSaga>