<PackageReference Include="Polly" Version="6.0.0-v6alpha0001" />
ITtlStrategy<TResult>
Defines a strategy for providing time-to-live durations for cacheable results.
namespace Polly.
Caching
{
public interface ITtlStrategy<
TResult>
{
Ttl GetTtl(
Context context,
TResult result);
}
}