Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IAsyncDisposable integration into Core library using Scope.AsyncDispose and Container.AsyncDispose #791

Open
dotnetjunkie opened this issue Dec 29, 2019 · 0 comments
Labels
Milestone

Comments

@dotnetjunkie
Copy link
Collaborator

@dotnetjunkie dotnetjunkie commented Dec 29, 2019

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.

@dotnetjunkie dotnetjunkie added this to the v5.0 milestone Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.