Skip to content

Add .close to Connection #262

@erny-powel

Description

@erny-powel

gRPC channels have a .close method that releases resources and terminates active RPCs. We should expose this as Connection.close. In addition we should make Connection a context manager that closes on exit. This mirrors the behavior of channel context managers.

@tnoczyns-volue thoughts?

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