HedgingDelayArguments
Arguments used by hedging delay generator.
using System.Runtime.CompilerServices;
namespace Polly.Hedging
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct HedgingDelayArguments
{
public ResilienceContext Context { get; }
public int Attempt { get; }
public HedgingDelayArguments(ResilienceContext context, int attempt)
{
Context = context;
Attempt = attempt;
}
}
}