Struct AlgoApiRequest.Sent<TResponse>
A wrapper around the handling the sent request.
Assembly: cs.temp.dll.dll
Syntax
public struct Sent<TResponse>
Type Parameters
Name |
Description |
TResponse |
|
Constructors
Sent(UnityWebRequestAsyncOperation, CancellationToken)
Declaration
public Sent(UnityWebRequestAsyncOperation asyncOperation, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
UnityWebRequestAsyncOperation |
asyncOperation |
|
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.Sent<TResponse> WithCancellation(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
WithProgress<TProgress>(TProgress)
Declaration
public AlgoApiRequest.SentWithProgress<TResponse, TProgress> WithProgress<TProgress>(TProgress progress)
where TProgress : IProgress<float>
Parameters
Type |
Name |
Description |
TProgress |
progress |
|
Returns
Type Parameters
Name |
Description |
TProgress |
|
Operators
Implicit(AlgoApiRequest.Sent to AlgoApiRequest.Sent<TResponse>)
Declaration
public static implicit operator AlgoApiRequest.Sent<TResponse>(AlgoApiRequest.Sent sent)
Parameters
Returns