libcoro  1.0
Coroutine support library for C++20

◆ await_suspend()

template<typename T , typename SubscribeFn = function<prepared_coro(promise<T>)>>
std::coroutine_handle coro::subscription< T, SubscribeFn >::await_suspend ( std::coroutine_handle<>  h)
inline

co_await support Subscribe and wait for a value

Parameters
hhandle of current coroutine
Returns
handle of coroutine to switch

Definition at line 75 of file subscription.h.