System::Threading::Tasks::ValueTask::GetAwaiter method

ValueTask::GetAwaiter method

Gets an awaiter for this task to support await expressions.

Runtime::CompilerServices::ValueTaskAwaiter System::Threading::Tasks::ValueTask::GetAwaiter() const

ReturnValue

ValueTaskAwaiter An awaiter instance for this task.

Remarks

This method enables the use of the Await method with ValueTask.

See Also