<PackageReference Include="Polly" Version="8.6.2" />

Polly.Caching.AsyncCacheEngine

static class AsyncCacheEngine
namespace Polly.Caching { internal static class AsyncCacheEngine { } } namespace Polly.Caching { public class AsyncSerializingCacheProvider<[System.Runtime.CompilerServices.Nullable(2)] TSerialized> : IAsyncCacheProvider { public AsyncSerializingCacheProvider(IAsyncCacheProvider<TSerialized> wrappedCacheProvider, ICacheItemSerializer<object, TSerialized> serializer); public Task<(bool, object)> TryGetAsync(string key, CancellationToken cancellationToken, bool continueOnCapturedContext); public Task PutAsync(string key, object value, Ttl ttl, CancellationToken cancellationToken, bool continueOnCapturedContext); } }