We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a very handy token, but it requires the initiation function object to have a bound executor. The following should work:
redis::connection conn (ctx); co_await conn.async_exec(req, res, asio::cancel_after(10s));
The text was updated successfully, but these errors were encountered:
I tried to implement cancelation for async_exec here:
redis/include/boost/redis/detail/connection_base.hpp
Line 149 in d910557
At the moment I am considering removing as it is hard and I am not sure there is a good use cases for it. Do you think this is worth doing?
Sorry, something went wrong.
Yes, there are good reasons. Without cancellation, you can't run a request with a timeout, for instance.
No branches or pull requests
This is a very handy token, but it requires the initiation function object to have a bound executor. The following should work:
The text was updated successfully, but these errors were encountered: