Skip to content

Feature proposal: structured concurrency #292

@Graeme22

Description

@Graeme22

After reading a fascinating article on structured concurrency, I'm convinced it's a better way to write async code. It allows for better guarantees, more predictable behavior, easier bug fixes, and simplified code.

Expected Behaviour

The functionality of the library wouldn't change at all. Rather, we'd replace use of asyncio with anyio across the whole code base. This then allows users to enjoy the guarantees of structured concurrency when using coredis. Additionally, I expect that reliability will improve across the project and future bugs will be averted. As a bonus, any users who prefer trio to asyncio could use coredis--currently, there is no maintained Redis client library for trio users.

Let me know if this sounds interesting, I would like to contribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions