<PackageReference Include="Polly" Version="8.0.0-alpha.8" />

ITtlStrategy<TResult>

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