Ascentis.AsyncDisposer 1.1.0

Static class that provides functionality to enqueue IDisposable objects for asynchronous disposal guaranteeing minimum time in queue

Install-Package Ascentis.AsyncDisposer -Version 1.1.0
dotnet add package Ascentis.AsyncDisposer --version 1.1.0
<PackageReference Include="Ascentis.AsyncDisposer" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ascentis.AsyncDisposer --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Ascentis.AsyncDisposer Component

Use this static class to dispose of IDisposable objects using async semantics.
When to use this?
If you use third party software which you can't modify that has caused you trouble when disposing objects on an event which later makes software beyond your control throw exceptions because somewhere in the call stack it tries to use the diposed object.
With this class you can enqueue the IDisposable instance in the AsyncDisposer queue and it will be guaranteed to stay in queue for a specified global period of time before being take for disposal.
Tune the timing in a way that gives time enough for the calling procedure in the stack to complete and return to the caller.

Ascentis.AsyncDisposer Component

Use this static class to dispose of IDisposable objects using async semantics.
When to use this?
If you use third party software which you can't modify that has caused you trouble when disposing objects on an event which later makes software beyond your control throw exceptions because somewhere in the call stack it tries to use the diposed object.
With this class you can enqueue the IDisposable instance in the AsyncDisposer queue and it will be guaranteed to stay in queue for a specified global period of time before being take for disposal.
Tune the timing in a way that gives time enough for the calling procedure in the stack to complete and return to the caller.

Release Notes

Improve type management of return types using generic types

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 52 9/2/2019
1.0.0.5 46 9/2/2019
1.0.0.3 51 8/27/2019
1.0.0.2 51 8/27/2019
1.0.0.1 54 8/25/2019