ICacheProviderAsync<TResult>
Defines methods for classes providing asynchronous cache functionality for Polly CachePolicy<T>s.
Task<TResult> GetAsync(string key, CancellationToken cancellationToken, bool continueOnCapturedContext)
Gets a value from the cache asynchronously.
Task PutAsync(string key, TResult value, TimeSpan ttl, CancellationToken cancellationToken, bool continueOnCapturedContext)
Puts the specified value in the cache asynchronously.