continuable
continuable copied to clipboard
C++14 asynchronous allocation aware futures (supporting then, exception handling, coroutines and connections)
I am digging into the library more and more and really appreciate and enjoy it! One feature which is missing now is that how to cancel the chained pipeline. Inside...
First I really enjoy this great library and really nice work! It does solve the callback hell with asio. Since we have no coroutine available whatsoever, continuable probably is now...
@Naios This concerns g++ 9.3.0 and 10.0.1 Using cti::work within a variant leads to a compiler error in "struct assert_wrong_copy_assign" in function2.hpp. Using std::is_copy_constructible_v makes the compiler happy. ----- ###...
@Naios Conan fails to find the continuable package in conan-center. ----- ### Commit Hash Don't understand what to write here... ### Expected Behavior The following command should find continuable in...
Thanks for this fantastic library @Naios. The amount of work you must have put into the documentation is really appreciated. I'm wondering whether reusable continuation chains are a planned feature,...
@Naios ``` boost::beast::ssl_stream* stream; const auto f = stream->async_handshake(boost::asio::ssl::stream_base::client, boost::asio::use_future); // compiles const auto g = stream->async_handshake(boost::asio::ssl::stream_base::client, cti::use_continuable); // error --- error: no matching function for call to 'boost::beast::ssl_stream::async_handshake(boost::asio::ssl::stream_base::handshake_type, const...
Hi, @Naios! It seems I found another issue: `when_seq()` connection operator can't deal with ready exceptional continuables (i.e. created by `make_exceptional_continuable()`). It doesn't have the same problem with lazy exceptional...
When using custom executors, is there a good thread pool you recommend that works well with this library or will any be fine ? Are task stealing lock free ones...
@Naios I think I have found a critical issue when awaiting nested continuables. It's a little hard to describe, but here's the code: ```c++ #include #include #include #include #include #include...
@Naios Thank you for the bravo project! I want to implement a **sync** interface, suppose we have a `response` struct: - Post a task to the executor - If it...