Skip to content

Implement IAsyncDisposable in IConnectionMultiplexer #2160

@kimsey0

Description

@kimsey0

IConnectionMultiplexer allows closing all connections synchronously via Close and asynchronously via CloseAsync. It also implements IDisposable and closes any connections synchronously when disposed, but doesn't implement the corresponding asynchronous IAsyncDisposable interface and DisposeAsync method. Doing so would allow closing connections asynchronously before disposing without manually calling CloseAsync first.

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