Open sandboxFocus

Method InvalidateDependenciesAsync

InvalidateDependenciesAsync(IReadOnlyCollection<string>, CancellationToken)

Asynchronously removes from the cache all items that have one of the specified dependencies.

Declaration
public ValueTask InvalidateDependenciesAsync(IReadOnlyCollection<string> keys, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IReadOnlyCollection<string> keys

The dependency keys.

CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
ValueTask

A Task.