Skip to content

Support default completion tokens in redis::connection #225

Closed
@anarthal

Description

@anarthal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions