2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-01 20:12:09 +00:00
Christopher Kohlhoff 3f12308c03 Add overloads of co_spawn that launch an awaitable.
This change allows us to write:

 co_spawn(executor,
     echo(std::move(socket)),
     detached);

instead of:

 co_spawn(executor,
     [socket = std::move(socket)]() mutable
     {
       return echo(std::move(socket));
     },
     detached);
2020-06-22 20:49:30 +10:00
2014-10-16 20:05:36 +11:00
2020-06-22 20:48:55 +10:00
2006-06-14 22:26:36 +00:00
Description
Mirrored via gitea-mirror
24 MiB
Languages
C++ 99.6%
HTML 0.2%
Perl 0.2%