API
IDistributedCache.RefreshAsync
Refreshes sliding expiration when configured.
Formal Syntax & Structure
csharp syntaxcsharp
await cache.RefreshAsync(key, token)Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.await cache.RefreshAsync(key, token)