NonBlockingCachingBackendEnhancer.SetItemAsyncCore Method |
Namespace: PostSharp.Patterns.Caching.Backends
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
protected override Task SetItemAsyncCore( string key, CacheItem item, CancellationToken cancellationToken )
Parameters
- key
- Type: System.String
The key of the cache item. - item
- Type: PostSharp.Patterns.Caching.Implementation.CacheItem
The cache item. - cancellationToken
- Type: System.Threading.CancellationToken
A CancellationToken.
Return Value
Type: TaskA Task.