23 Jun
2026
23 Jun
'26
4:40 p.m.
I am not sure what `compute()` is in this example, but generally yes.
I completely messed the line up, sorry. It should have read asio::awaitable<void> co_main() { auto exec = capy::wrap_asio_executor(co_await asio::this_coro::executor); co_await capy::asio_spawn(exec, my_capy_task()); } Out of curiosity, how does the out-of-the-box Corosio integration work? I mean, the example uses asio::io_context::run(). How does this get to service Corosio's reactor?