System::Threading::Tasks::ResultTask::GetAwaiter method

ResultTask::GetAwaiter method

Gets an awaiter for this result task for use with Await.

Runtime::CompilerServices::ResultTaskAwaiter<T> System::Threading::Tasks::ResultTask<T>::GetAwaiter() const

ReturnValue

Runtime::CompilerServices::ResultTaskAwaiter An awaiter instance that returns the result

Remarks

When awaited, the coroutine will resume with the result value available

See Also