Struct HedgeEvent<TResult>
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Describes a hedged attempt being launched, with the latest handled outcome typed as
TResult.
public readonly struct HedgeEvent<TResult>
Type Parameters
TResult
- Inherited Members
Properties
AttemptNumber
The zero-based execution attempt number (1 = first hedge after the initial attempt).
public int AttemptNumber { get; }
Property Value
Context
The ambient execution context. It is pooled; do not retain it after the hedge callback's returned task completes.
public KevlarContext Context { get; }
Property Value
Outcome
The latest handled outcome available before this attempt was launched, or null when pending attempts have not produced an outcome yet.
public Outcome<TResult>? Outcome { get; }
Property Value
- Outcome<TResult>?