commit | f2bddd4a6571ff001d131698f00cc91099c199cc | [log] [tgz] |
---|---|---|
author | Christopher Kohlhoff <chris@kohlhoff.com> | Mon Jun 21 16:20:38 2021 +1000 |
committer | Christopher Kohlhoff <chris@kohlhoff.com> | Sun Jun 27 00:00:45 2021 +1000 |
tree | f62ee48d55b24ff41bbf988267af2964016c1b72 | |
parent | 05c3ad0e3e0a586b56167b60e29965b98657ac34 [diff] |
Add experimental::append completion token adapter. The append completion token adapter can be used to pass additional completion handler arguments. For example: timer.async_wait( asio::experimental::append( [](std::error_code ec, int i) { // ... }, 42) ); std::future<int> f = timer.async_wait( asio::experimental::append( asio::use_future, 42 ) );