System::Threading::Tasks::ResultValueTask::GetAwaiter method

ResultValueTask::GetAwaiter method

Gets an awaiter for this task to support await expressions.

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

ReturnValue

ResultValueTaskAwaiter An awaiter instance for this task.

Remarks

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

See Also