GetAwaiter()

ResultValueTask::GetAwaiter() const method

Gets an awaiter for this task to support await expressions.

Runtime::CompilerServices::ResultValueTaskAwaiter<T> System::Threading::Tasks::ResultValueTask<T>::GetAwaiter() const

Return Value

ResultValueTaskAwaiter An awaiter instance for this task.

Remarks

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

See Also