CachingBackend.InvalidateDependencyAsyncCore Method
InvalidateDependencyAsyncCore(string, CancellationToken)
Asynchronously removes from the cache all items that have a specific dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
Declaration
protected virtual ValueTask InvalidateDependencyAsyncCore(string key, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | key | The dependency key. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
ValueTask | A Task. |