CachingBackend.ClearAsync Method
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 |
Returns
Type | Description |
---|---|
ValueTask | A Task. |