CachingBackend.ContainsDependencyAsync Method
ContainsDependencyAsync(String, CancellationToken)
Asynchronously determines whether the cache contains a given dependency.
Declaration
public ValueTask<bool> ContainsDependencyAsync(string key, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
String | key | The dependency key. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
ValueTask<Boolean> | A Task evaluating to |