From c3c914828a4db958893aaf307cc79d9aaf970431 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 15 Mar 2024 13:11:51 +0100 Subject: async, io: Fixing async tests for io --- modules/async/c++/async.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/async/c++/async.hpp') diff --git a/modules/async/c++/async.hpp b/modules/async/c++/async.hpp index 257fbd7..b56742c 100644 --- a/modules/async/c++/async.hpp +++ b/modules/async/c++/async.hpp @@ -166,10 +166,12 @@ public: error operator()(error &&err); }; +/** + * Helper object holding a sink_conveyor_node + */ class conveyor_sink { private: own node_; - public: conveyor_sink(); conveyor_sink(own &&node); @@ -246,7 +248,7 @@ public: [[nodiscard]] conveyor limit(size_t val = 1); /** - * + * @todo implement */ [[nodiscard]] std::pair, merge_conveyor> merge(); @@ -257,9 +259,10 @@ public: */ template void detach(ErrorFunc &&err_func = propagate_error()); + /** * Creates a local sink which drops elements, but lifetime control remains - * in your hand. + * in your hand contrary to detach(). */ template [[nodiscard]] conveyor_sink -- cgit v1.2.3