Table of Contents

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

RunId Guid

The run containing the step.

StepKey string

The retried step.

Outcome StepRetryOutcome

The 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

bool

Outcome

The outcome.

public StepRetryOutcome Outcome { get; init; }

Property Value

StepRetryOutcome

RunId

The run containing the step.

public Guid RunId { get; init; }

Property Value

Guid

StepKey

The retried step.

public string StepKey { get; init; }

Property Value

string