Open sandboxFocus

Method ClearAsync

ClearAsync(ClearCacheOptions, CancellationToken)

Asynchronously clears the cache.

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

Options.

CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
ValueTask

A Task.