libcoro  1.0
Coroutine support library for C++20

◆ await_suspend()

template<typename CondVar >
void coro::thread_pool_t< CondVar >::await_suspend ( std::coroutine_handle<>  h)
inline

co_await support - resumes the coroutine inside of thread_pool

Parameters
hhandle of suspended coroutine
Exceptions
await_canceled_exception- thread pool has been stopped

Definition at line 148 of file thread_pool.h.