Method GetReceivedChunksAsync
GetReceivedChunksAsync(UploadRecord, CancellationToken)
Gets the indexes of the chunks of an upload that have been received.
Declaration
ValueTask<IReadOnlyCollection<int>> GetReceivedChunksAsync(UploadRecord upload, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadRecord | upload | The record of the upload. |
| CancellationToken | cancellationToken | A token that cancels the operation. |
Returns
| Type | Description |
|---|---|
| ValueTask<IReadOnlyCollection<int>> |