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

CachingBackend.ClearAsyncCore Method

ClearAsyncCore(ClearCacheOptions, CancellationToken)

Asynchronously clears the cache. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.

Declaration
protected virtual ValueTask ClearAsyncCore(ClearCacheOptions options, CancellationToken cancellationToken)
Parameters
Type Name Description
ClearCacheOptions options
CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
ValueTask

A Task.