libcoro  1.0
Coroutine support library for C++20

◆ wait()

template<typename T , typename Pred >
T& coro::condition< T, Pred >::wait ( )
inline

Synchronous waiting, allows to condition be used in normal function.

coro::condition(shared, [&]{shared == val}).wait();
T & wait()
Synchronous waiting, allows to condition be used in normal function.
Definition: condition.h:249
await on a condition
Definition: condition.h:195
Returns

Definition at line 249 of file condition.h.

+ Here is the caller graph for this function: