Bnaya.CSharp.AsyncExtensions
1.0.21
See the version list below for details.
dotnet add package Bnaya.CSharp.AsyncExtensions --version 1.0.21
NuGet\Install-Package Bnaya.CSharp.AsyncExtensions -Version 1.0.21
<PackageReference Include="Bnaya.CSharp.AsyncExtensions" Version="1.0.21" />
paket add Bnaya.CSharp.AsyncExtensions --version 1.0.21
#r "nuget: Bnaya.CSharp.AsyncExtensions, 1.0.21"
// Install Bnaya.CSharp.AsyncExtensions as a Cake Addin #addin nuget:?package=Bnaya.CSharp.AsyncExtensions&version=1.0.21 // Install Bnaya.CSharp.AsyncExtensions as a Cake Tool #tool nuget:?package=Bnaya.CSharp.AsyncExtensions&version=1.0.21
Useful extensions contribution by Bnaya Eshet
Blog: http://blogs.microsoft.co.il/bnaya/
Source Code:
https://github.com/bnayae/Bnaya.CSharp.AsyncExtensions
# NuGet
this library available on NuGet via
Install-Package Bnaya.CSharp.AsyncExtensions
## This library have the following godies:
* Exception Handlinfg
* ThrowAll (produce AggregateException when waiting on Task.WhenAll)
* Format (format async exception into friendlier callstack represantation)
* Timeout (will apply timeout semantic for any Task)
* WithTimeout (will throw on timeout)
* IsTimeoutAsync (will return indication without throwing, ideal for SLA checks [prctice: check and produce warning])
* Cancellation
* CancelSafe (will run the CancellationTokenSource.Cancel within try catch and prevent unexpected side effect which can happen when cancellation token registration throw)
* Frendly async locking facilities (which can replace the clasical lock statement).
* Extensions
* TryAcquireAsync
* AcquireAsync
* Instance-able
* AsyncLock
* WhenN: use to complete task aftern n task succeed
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Threading.Tasks.Extensions (>= 4.4.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Bnaya.CSharp.AsyncExtensions:
Package | Downloads |
---|---|
Weknow.EventSource.Backbone.Contracts
Package Description |
|
Weknow.EventSource.Backbone
Package Description |
|
Weknow.GraphDbClient.Abstraction
Package Description |
|
EventSourcing.Backbone.Abstractions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.68 | 5,908 | 6/19/2023 |
1.0.67 | 5,744 | 5/23/2023 |
1.0.66 | 753 | 5/18/2023 |
1.0.65 | 673 | 5/18/2023 |
1.0.64 | 7,454 | 2/16/2023 |
1.0.62 | 1,598 | 2/2/2023 |
1.0.60 | 7,641 | 12/6/2022 |
1.0.58 | 831 | 12/6/2022 |
1.0.56 | 4,078 | 11/15/2022 |
1.0.54 | 40,365 | 4/12/2022 |
1.0.52 | 958 | 4/12/2022 |
1.0.51 | 984 | 4/12/2022 |
1.0.49 | 52,709 | 12/30/2021 |
1.0.28 | 84,772 | 7/24/2020 |
1.0.27 | 1,295 | 6/12/2020 |
1.0.25 | 2,069 | 8/17/2018 |
1.0.23 | 1,814 | 5/2/2018 |
1.0.22 | 1,610 | 5/2/2018 |
1.0.21 | 1,526 | 4/17/2018 |
1.0.20 | 1,602 | 4/16/2018 |
1.0.19 | 1,570 | 4/15/2018 |
1.0.18 | 1,672 | 4/14/2018 |
1.0.15 | 1,641 | 12/21/2017 |
1.0.14 | 1,635 | 12/21/2017 |
1.0.13 | 1,628 | 11/23/2017 |
1.0.11 | 1,796 | 11/21/2017 |
1.0.7 | 1,817 | 11/16/2017 |
Release 1.0.21
BUG FIX
- Async Lock
Features
-When / WhenN
Release 1.0.19
Features
- Exception.FormatWithLineNumber
Release 1.0.18 (Has Breaking Changes):
Feature:
- WhenN: use to complete task aftern n task succeed
BUG FIX:
- Breaking changes: IsTimeoutAsync_Test (on versions below 1.0.17)
wes returning false when timeout detected and true when when timeout not detected
- AcquireAsync and TryAcquireAsync (object disposal race)