Skip to content
New issue

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

Support default completion tokens in redis::connection #225

Open
anarthal opened this issue Dec 19, 2024 · 1 comment · May be fixed by #228
Open

Support default completion tokens in redis::connection #225

anarthal opened this issue Dec 19, 2024 · 1 comment · May be fixed by #228

Comments

@anarthal
Copy link
Collaborator

The non-templated connection should have asio::deferred as the default completion token for all its operations, so the following works:

redis::connection conn (ctx);
// ...
co_await conn.async_exec(req, res);
@mzimbres
Copy link
Collaborator

Hi, I did have default completion tokens but somehow they went missing after a refactoring. Will do it when I have the time. Thanks.

@mzimbres mzimbres linked a pull request Dec 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants