libcoro  1.0
Coroutine support library for C++20

◆ detach()

template<typename T , coro_allocator Alloc = std_allocator>
void coro::async< T, Alloc >::detach ( )
inline

Run coroutine detached.

This runs coroutine without ability to retrieve return value. The object is cleared after return (no longer controls the coroutine)

Definition at line 154 of file async.h.