Skip to content

Let Container and Scope classes implement IAsyncDisposable #791

@dotnetjunkie

Description

@dotnetjunkie

Feature #778 adds async disposable support for ASP.NET Core, but even outside the realm of ASP.NET Core, async disposable support is useful in two places:

  • To asynchronously dispose of disposables on a Scope
  • To asynchronously dispose the Container.

Because of the extra required Microsoft.Bcl.AsyncInterfaces package, I feel adding support to the core library is unsuited for v4, but we might want to reconsider for v5.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions