<PackageReference Include="Polly.Core" Version="8.6.6" />

Polly.Retry.RetryHelper

static class RetryHelper
namespace Polly.Retry { internal static class RetryHelper { public static bool IsValidDelay(TimeSpan delay); public static TimeSpan GetRetryDelay(DelayBackoffType type, bool jitter, int attempt, TimeSpan baseDelay, TimeSpan? maxDelay, ref double state, Func<double> randomizer); } } namespace Polly.Retry { public readonly struct RetryPredicateArguments<[System.Runtime.CompilerServices.Nullable(2)] TResult> : IOutcomeArguments<TResult> { public Outcome<TResult> Outcome { get; } public ResilienceContext Context { get; } public int AttemptNumber { get; } public RetryPredicateArguments(ResilienceContext context, Outcome<TResult> outcome, int attemptNumber); } }