<PackageReference Include="Polly" Version="8.5.2" />

AsyncRetryPolicy<TResult>

public class AsyncRetryPolicy<TResult> : AsyncPolicy<TResult>, IRetryPolicy<TResult>, IRetryPolicy, IsPolicy
using System.Runtime.CompilerServices; namespace Polly.Caching { [System.Runtime.CompilerServices.NullableContext(1)] public interface ISyncCacheProvider { [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 2 })] (bool, object) TryGet(string key); void Put(string key, [System.Runtime.CompilerServices.Nullable(2)] object value, Ttl ttl); } }