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