Skip to content

Add a method to trio.BlockingTrioPortal for conveniently using async context managers #323

Open
@njsmith

Description

@njsmith

I guess maybe sync context managers too, but I can't think of any sync context managers that would make sense to call, whereas with portal.async_cm(my_trio_lock): ... makes perfect sense.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions