GetAwaiter()

ValueTask::GetAwaiter() const method

Gets an awaiter for this task to support await expressions.

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

Return Value

ValueTaskAwaiter An awaiter instance for this task.

Remarks

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

See Also