libcoro  1.0
Coroutine support library for C++20

◆ try_await()

template<typename T >
template<typename Awt >
bool coro::frame< T >::try_await ( Awt &  awt)
inline

Emulates co_await (without await_resume) with no suspend when ready.

Parameters
awtan compatible awaitable
Return values
truesuspended, resume() or destroy() will be called
falsealready resolved, no suspend needed

Definition at line 162 of file frame.h.

+ Here is the caller graph for this function: