libcoro  1.0
Coroutine support library for C++20

◆ wait()

template<typename T >
wait_awaiter coro::future< T >::wait ( )
inlinenoexcept

Perform synchronous wait on resolution.

Blocks execution until future is resolved. If the future is deferred, the evaluation is started now.

Result is awaitable. You can use co_await .wait() to await on resolution without retrieving the value (or throw exceptionb)

Definition at line 686 of file future.h.