Polly.Caching.IAsyncCacheProvider
namespace Polly.Caching
{
public interface IAsyncCacheProvider
{
Task<(bool, object)> TryGetAsync(string key, CancellationToken cancellationToken, bool continueOnCapturedContext);
Task PutAsync(string key, object value, Ttl ttl, CancellationToken cancellationToken, bool continueOnCapturedContext);
}
}