libcoro  1.0
Coroutine support library for C++20

◆ await_ready()

template<typename T , typename Pred >
bool coro::condition< T, Pred >::await_ready ( ) const
inline

co_await support

Tests condition.

Return values
truecondition is true - we can continue
falsecondition is false - we must sleep

Definition at line 214 of file condition.h.

+ Here is the caller graph for this function: