/// <inheritdoc /> public Task <PinResult> PinAsync(Context context, ContentHash contentHash, CancellationToken cts, UrgencyHint urgencyHint) { return(_innerCacheSession.PinAsync(context, contentHash, cts, urgencyHint)); }
/// <inheritdoc /> public async Task <Possible <string, Failure> > PinToCasAsync(CasHash hash, UrgencyHint urgencyHint, Guid activityId) { var result = await ReadOnlyCacheSession.PinAsync(new Context(Logger), hash.ToMemoization(), CancellationToken.None); return(result.FromMemoization(hash, CacheId)); }