Ascentis.AsyncDisposer
1.1.0
See the version list below for details.
dotnet add package Ascentis.AsyncDisposer --version 1.1.0
NuGet\Install-Package Ascentis.AsyncDisposer -Version 1.1.0
<PackageReference Include="Ascentis.AsyncDisposer" Version="1.1.0" />
paket add Ascentis.AsyncDisposer --version 1.1.0
#r "nuget: Ascentis.AsyncDisposer, 1.1.0"
// Install Ascentis.AsyncDisposer as a Cake Addin #addin nuget:?package=Ascentis.AsyncDisposer&version=1.1.0 // Install Ascentis.AsyncDisposer as a Cake Tool #tool nuget:?package=Ascentis.AsyncDisposer&version=1.1.0
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Improve type management of return types using generic types