libcoro  1.0
Coroutine support library for C++20

◆ detach_on_await_suspend()

template<typename T , coro_allocator Alloc = std_allocator>
std::coroutine_handle coro::async< T, Alloc >::detach_on_await_suspend ( )
inline

detach coroutine using symmetric transfer

Returns
coroutine handle of coroutine to be resumed. Use return value as result of await_suspend();

Definition at line 163 of file async.h.