struct TaskAwaiter
in global :: System . Runtime . CompilerServices
Provides an object that waits for the completion of an asynchronous 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 that is associated with this awaiter.
continuationThe action to invoke when the await operation completes.
public void 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.