Class SagaResult<TState>
- Namespace
- PatternKit.Messaging.Sagas
- Assembly
- PatternKit.Core.dll
Result returned after a saga processes a message.
public sealed class SagaResult<TState>
Type Parameters
TState
- Inheritance
-
SagaResult<TState>
- Inherited Members
Constructors
SagaResult(TState, bool, bool)
Creates a saga result.
public SagaResult(TState state, bool matched, bool completed)
Parameters
Properties
Completed
true when the saga completion policy is satisfied.
public bool Completed { get; }
Property Value
Matched
true when at least one saga step handled the message.
public bool Matched { get; }
Property Value
State
The state after message processing.
public TState State { get; }
Property Value
- TState