InvalidateDependencyAsync(string, CancellationToken)
Asynchronously removes from the cache all items that have a specific dependency.
Declaration
public ValueTask InvalidateDependencyAsync(string key, CancellationToken cancellationToken = default)Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The dependency key. |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| ValueTask | A Task. |