libcoro  1.0
Coroutine support library for C++20

◆ await()

template<typename T >
template<typename Awt >
void coro::frame< T >::await ( Awt &  awt)
inline

Emulates co_await (without await_resume)

Parameters
awtan compatible awaitable

The function tests await_ready() and await_suspend(); The frame is resumed through resume() function

Definition at line 151 of file frame.h.