| 64 | ASIO_INITFN_AUTO_RESULT_TYPE( |
| 65 | CompletionToken, void(std::exception_ptr, T)) |
| 66 | co_spawn(coro<void, T, Executor> c, CompletionToken&& token) |
| 67 | { |
| 68 | auto exec = c.get_executor(); |
| 69 | return async_compose<CompletionToken, void(std::exception_ptr, T)>( |
| 70 | detail::coro_spawn_op<void, T, Executor>{std::move(c)}, |
| 71 | token, exec); |
| 72 | } |
| 73 | |
| 74 | /// Spawn a resumable coroutine. |
| 75 | /** |
no test coverage detected