MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​BackendsCaching­BackendClear­Async
Open sandboxFocus

CachingBackend.ClearAsync Method

ClearAsync(ClearCacheOptions, CancellationToken)

Asynchronously clears the cache.

Declaration
public ValueTask ClearAsync(ClearCacheOptions options, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ClearCacheOptions options

Options.

System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken.

Returns
Type Description
System.Threading.Tasks.ValueTask

A System.Threading.Tasks.Task.