Method RenewAsync
RenewAsync(CancellationToken)
Renews the claim's lease for another lease duration.
Declaration
ValueTask<bool> RenewAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A token that cancels the operation. |
Returns
| Type | Description |
|---|---|
| ValueTask<bool> | true if the claim was renewed, or false if it was lost: the upload was deleted, it has an outcome, or its claim is no longer this one. The service then stops the handler. |