Skip to content

Support default completion tokens in redis::connection #225

@anarthal

Description

@anarthal
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);

Activity

mzimbres

mzimbres commented on Dec 22, 2024

@mzimbres
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @mzimbres@anarthal

      Issue actions

        Support default completion tokens in redis::connection · Issue #225 · boostorg/redis