Method GetContentAsync
GetContentAsync(UploadRecord, CancellationToken)
Gets the complete file of an upload whose run the caller has claimed, assembling it from the chunks first if the store needs to. It can be called again for the same upload, such as when a run is claimed again after a claim was released.
Declaration
ValueTask<UploadContent> GetContentAsync(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<UploadContent> |