Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetAwaiter

func GetAwaiter() -> Task<T>

Declaring type: Task<T>
Module: System.Concurrency.Tasks
Assembly: System.Runtime.dll
Source file: Tasks.rvn

Returns this task for the await protocol.

Return value

Task<T>

The same task instance.