Skip to content

support for asynchronous context managers #134

@joprice

Description

@joprice

Is it possible to bind to async context managers? They have a magic method __aexit__ that seems like it would map to the IAsyncDisposable interface, but I can't see to get the latter to work with tasks. Maybe a helper method could be introduced if the built in use facility can't support this?

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