Method RemoveAsync
RemoveAsync(string, CancellationToken)
Removes the value of a key, if it has one.
Declaration
public ValueTask RemoveAsync(string key, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key. |
| CancellationToken | cancellationToken | A token to cancel the operation. |
Returns
| Type | Description |
|---|---|
| ValueTask |