Struct AlgoApiRequest.SentWithProgress<TResponse, TProgress>
A wrapper around the handling the sent request.
Assembly: cs.temp.dll.dll
Syntax
public struct SentWithProgress<TResponse, TProgress>
where TProgress : IProgress<float>
Type Parameters
Name |
Description |
TResponse |
|
TProgress |
|
Constructors
SentWithProgress(UnityWebRequestAsyncOperation, TProgress, CancellationToken)
Declaration
public SentWithProgress(UnityWebRequestAsyncOperation asyncOperation, TProgress progress, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
UnityWebRequestAsyncOperation |
asyncOperation |
|
TProgress |
progress |
|
CancellationToken |
cancellationToken |
|
Properties
AsyncOperation
Declaration
public UnityWebRequestAsyncOperation AsyncOperation { get; }
Property Value
Type |
Description |
UnityWebRequestAsyncOperation |
|
Methods
GetAwaiter()
Declaration
public AlgoApiRequest.Awaiter<TResponse> GetAwaiter()
Returns
ToUniTask()
Declaration
public UniTask<AlgoApiResponse<TResponse>> ToUniTask()
Returns
WithCancellation(CancellationToken)
Declaration
public AlgoApiRequest.SentWithProgress<TResponse, TProgress> WithCancellation(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
Operators
Implicit(AlgoApiRequest.SentWithProgress<TProgress> to AlgoApiRequest.SentWithProgress<TResponse, TProgress>)
Declaration
public static implicit operator AlgoApiRequest.SentWithProgress<TResponse, TProgress>(AlgoApiRequest.SentWithProgress<TProgress> sent)
Parameters
Returns