1 implementation of SetAsync
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
243
async ValueTask IOutputCacheBufferStore.
SetAsync
(string key, ReadOnlySequence<byte> value, ReadOnlyMemory<string> tags, TimeSpan validFor, CancellationToken cancellationToken)
2 references to SetAsync
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
49
await bufferStore.
SetAsync
(key, new(buffer.GetCommittedMemory()), CopyToLeasedMemory(tags, out var lease), duration, cancellationToken);
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
240
return ((IOutputCacheBufferStore)this).
SetAsync
(key, new ReadOnlySequence<byte>(value), tags.AsMemory(), validFor, cancellationToken);