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

ISyncCacheProvider

public interface ISyncCacheProvider
Defines methods for classes providing synchronous cache functionality for Polly CachePolicys.
object Get(string key)

Gets a value from cache.

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

Puts the specified value in the cache.