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

Polly.Caching.ITtlStrategy<TResult>

public interface ITtlStrategy<TResult>
namespace Polly.Caching { public interface ITtlStrategy<[System.Runtime.CompilerServices.Nullable(2)] TResult> { Ttl GetTtl(Context context, TResult result); } }