<PackageReference Include="Polly" Version="6.0.0-v6alpha0001" />

ISyncCacheProvider<TResult>

public interface ISyncCacheProvider<TResult>
Defines methods for classes providing synchronous cache functionality for Polly CachePolicy<T>s.
TResult Get(string key)

Gets a value from cache.

void Put(string key, TResult value, Ttl ttl)

Puts the specified value in the cache.