Class StepRetryResult
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
The value RetryStepAsync(Guid, Guid, string, CancellationToken) returns: whether the retry was accepted, and why not when it was not.
public sealed record StepRetryResult : IEquatable<StepRetryResult>
- Inheritance
-
StepRetryResult
- Implements
- Inherited Members
Remarks
A retry is no longer executed on the caller's thread: an accepted retry has only been dispatched when the call returns, and the step's result arrives through the run like any other attempt.
Constructors
StepRetryResult(Guid, string, StepRetryOutcome)
The value RetryStepAsync(Guid, Guid, string, CancellationToken) returns: whether the retry was accepted, and why not when it was not.
public StepRetryResult(Guid RunId, string StepKey, StepRetryOutcome Outcome)
Parameters
RunIdGuidThe run containing the step.
StepKeystringThe retried step.
OutcomeStepRetryOutcomeThe outcome.
Remarks
A retry is no longer executed on the caller's thread: an accepted retry has only been dispatched when the call returns, and the step's result arrives through the run like any other attempt.
Properties
Accepted
Whether the step was reset and dispatched.
public bool Accepted { get; }
Property Value
Outcome
The outcome.
public StepRetryOutcome Outcome { get; init; }
Property Value
RunId
The run containing the step.
public Guid RunId { get; init; }
Property Value
StepKey
The retried step.
public string StepKey { get; init; }