struct TaskAwaiter<TResult>
in global :: System . Runtime . CompilerServices
Represents an object that waits for the completion of an asynchronous task and provides a parameter for the result.
TResultThe result for the task.
public bool IsCompleted { get; }
Gets a value that indicates whether the asynchronous task has completed.
- Returns if the task has completed; otherwise, .
public void OnCompleted( Action continuation )
Sets the action to perform when the object stops waiting for the asynchronous task to complete.
continuationThe action to perform when the wait operation completes.
public void UnsafeOnCompleted( Action continuation )
Schedules the continuation action for the asynchronous task associated with this awaiter.
continuationThe action to invoke when the await operation completes.
public TResult GetResult( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.