Class DurableExecutionStepResult
Namespace: Cephalon.Behaviors.Patterns.Abstractions
Assembly: Cephalon.Behaviors.Patterns.dll
Describes the next durable-execution outcome after one workflow step runs.
public sealed class DurableExecutionStepResult<TOutput>Type Parameters
Section titled “Type Parameters”TOutput
The local output returned to the caller when one is available.
Inheritance
Section titled “Inheritance”object ← DurableExecutionStepResult<TOutput>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”DurableExecutionStepResult(TOutput?, IReadOnlyList<IDomainEvent>?, bool, IReadOnlyList<DurableExecutionPendingTimer>?, IReadOnlyList<DurableExecutionPendingSignal>?, IReadOnlyList<DurableExecutionCompensationAction>?)
Section titled “ DurableExecutionStepResult(TOutput?, IReadOnlyList<IDomainEvent>?, bool, IReadOnlyList<DurableExecutionPendingTimer>?, IReadOnlyList<DurableExecutionPendingSignal>?, IReadOnlyList<DurableExecutionCompensationAction>?)”Initializes a new instance of the
public DurableExecutionStepResult(TOutput? output = default, IReadOnlyList<IDomainEvent>? events = null, bool isCompleted = false, IReadOnlyList<DurableExecutionPendingTimer>? pendingTimers = null, IReadOnlyList<DurableExecutionPendingSignal>? pendingSignals = null, IReadOnlyList<DurableExecutionCompensationAction>? compensationActions = null)Parameters
Section titled “Parameters”output TOutput?
The local output to return to the caller.
events IReadOnlyList<IDomainEvent>?
The ordered domain events to append durably after a successful step.
isCompleted bool
Marks the workflow as complete after this step.
pendingTimers IReadOnlyList<DurableExecutionPendingTimer>?
The durable timers that should remain pending after the step succeeds.
pendingSignals IReadOnlyList<DurableExecutionPendingSignal>?
The durable signals that should remain pending after the step succeeds.
compensationActions IReadOnlyList<DurableExecutionCompensationAction>?
The operator-facing compensation actions that should remain available after the step succeeds.
Properties
Section titled “Properties”CompensationActions
Section titled “ CompensationActions”Gets the operator-facing compensation actions that should remain available after the step succeeds.
public IReadOnlyList<DurableExecutionCompensationAction> CompensationActions { get; }Property Value
Section titled “Property Value”IReadOnlyList<DurableExecutionCompensationAction>
Events
Section titled “ Events”Gets the ordered domain events to append durably after a successful step.
public IReadOnlyList<IDomainEvent> Events { get; }Property Value
Section titled “Property Value”IReadOnlyList<IDomainEvent>
IsCompleted
Section titled “ IsCompleted”Gets a value indicating whether the workflow should be considered complete after this step.
public bool IsCompleted { get; }Property Value
Section titled “Property Value”Output
Section titled “ Output”Gets the local output returned to the caller when one is available.
public TOutput? Output { get; }Property Value
Section titled “Property Value”TOutput?
PendingSignals
Section titled “ PendingSignals”Gets the durable signals that should remain pending after the step succeeds.
public IReadOnlyList<DurableExecutionPendingSignal> PendingSignals { get; }Property Value
Section titled “Property Value”IReadOnlyList<DurableExecutionPendingSignal>
PendingTimers
Section titled “ PendingTimers”Gets the durable timers that should remain pending after the step succeeds.
public IReadOnlyList<DurableExecutionPendingTimer> PendingTimers { get; }Property Value
Section titled “Property Value”IReadOnlyList<DurableExecutionPendingTimer>