Class TusOperation<T>
Represents an operation against a Tus enabled server. TusOperation<T> supports progress reports.
Inherited Members
Namespace: Unity.Services.Ccd.Management
Assembly: Unity.Services.Ccd.Management.dll
Syntax
public class TusOperation<T>
Type Parameters
Name | Description |
---|---|
T | The type of the operation result. |
Properties
Operation
Get the asynchronous operation to be performed. This will initiate the operation.
Declaration
public Task<T> Operation { get; }
Property Value
Type | Description |
---|---|
Task<T> |
Methods
GetAwaiter()
Gets an awaiter used to initiate and await the operation.
Declaration
public TaskAwaiter<T> GetAwaiter()
Returns
Type | Description |
---|---|
TaskAwaiter<T> | The TaskAwaiter<TResult> of the underlying Task<TResult>. |
Events
Progressed
Occurs when progress sending the request is made.
Declaration
public event ProgressDelegate Progressed
Event Type
Type | Description |
---|---|
ProgressDelegate |