Re: [Capy review] Some questions
Ruben Perez via Boost <[email protected]> Tue, 23 Jun 2026 18:40:38 +0200
| Newsgroups | gmane.comp.lib.boost.devel |
|---|---|
| Message-ID | <CACR-mdKFy83jF+v2YPtSiyXenFWECSPMYNG2fdc1nH7iwSwaXA@mail.gmail.com> |
> 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?
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/4DFDEI7JMTMSZZVOOC2LQ3LSVYTH2IOH/