CSRakowski.ParallelAsync
1.5.2
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 1.1
This package targets .NET Standard 1.1. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CSRakowski.ParallelAsync --version 1.5.2
NuGet\Install-Package CSRakowski.ParallelAsync -Version 1.5.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CSRakowski.ParallelAsync" Version="1.5.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CSRakowski.ParallelAsync --version 1.5.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CSRakowski.ParallelAsync, 1.5.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CSRakowski.ParallelAsync as a Cake Addin #addin nuget:?package=CSRakowski.ParallelAsync&version=1.5.2 // Install CSRakowski.ParallelAsync as a Cake Tool #tool nuget:?package=CSRakowski.ParallelAsync&version=1.5.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ParallelAsync
A .NET utility library for running async methods in parallel batches.
Available on NuGet: and GitHub:
Example usage:
using CSRakowski.Parallel;
List<string> fileUrls = GetFileUrls();
var files = await ParallelAsync.ForEachAsync(fileUrls, (url) => {
return DownloadFileAsync(url);
}, maxBatchSize: 8, allowOutOfOrderProcessing: true);
As of version 1.1 a fluent syntax is also available:
using CSRakowski.Parallel.Extensions;
List<string> fileUrls = GetFileUrls();
var files = await fileUrls
.AsParallelAsync()
.WithMaxDegreeOfParallelism(8)
.WithOutOfOrderProcessing(false)
.ForEachAsync((url) => {
return DownloadFileAsync(url);
});
Release notes
1.5.1
- Updated target frameworks
1.5.0
- Updated target frameworks
1.4.1
- Updated dependencies
1.4
- Added gist support for
IAsyncEnumberable{T}
1.3.2
- Added the RunId to the BatchStart and BatchStop events
1.3.1
- Reduced overhead in code paths where the input collection is a
T[]
,maxBatchSize
is greater than1
andallowOutOfOrder
isfalse
1.3
- Changed assembly signing key
- Further changes to internal implementation details
- Performance improvements when the input collection is a
T[]
orIList{T}
andmaxBatchSize
is set to1
- Performance improvements in the
allowOutOfOrder
code paths.
1.2.1
- Marked the
T
on theIParallelAsyncEnumerable
as covariant - Changes to internal implementation details
1.2
- Added an
EventSource
to expose some diagnostic information. - Changed minimum supported NetStandard from 1.0 to 1.1 (Because of the
EventSource
).
1.1.1
- Added support for
IReadOnlyCollection{T}
to theListHelper
. - Added more XmlDoc to methods and classes.
1.1
- Renamed class to
ParallelAsync
to prevent naming conflicts with theSystem.Threading.Tasks.Parallel
. - Renamed namespace to
CSRakowski.Parallel
to prevent ambiguous name conflicts between the class and the namespace. - Added new extension methods to allow for fluent sytax usage.
1.0.1
- Enabled Strong Naming.
1.0
- Initial release.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.1 is compatible. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net45 is compatible. 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 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- CSRakowski.AsyncStreamsPreparations (>= 1.3.5)
-
.NETFramework 4.7.2
- CSRakowski.AsyncStreamsPreparations (>= 1.3.5)
-
.NETStandard 1.1
- CSRakowski.AsyncStreamsPreparations (>= 1.3.5)
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- CSRakowski.AsyncStreamsPreparations (>= 1.3.5)
-
.NETStandard 2.1
- No dependencies.
-
net5.0
- 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.
Version | Downloads | Last updated |
---|---|---|
1.7.2 | 24,689 | 1/8/2023 |
1.7.1 | 337 | 12/29/2022 |
1.7.0 | 313 | 12/24/2022 |
1.6.0 | 10,381 | 6/25/2022 |
1.5.4 | 442 | 6/18/2022 |
1.5.2 | 59,168 | 5/2/2021 |
1.5.1 | 8,396 | 1/30/2021 |
1.5.0 | 8,729 | 3/22/2020 |
1.4.1 | 5,028 | 8/29/2019 |
1.4.0 | 2,932 | 4/10/2019 |
1.3.2 | 1,646 | 7/19/2018 |
1.3.1 | 1,515 | 1/29/2018 |
1.3.0 | 1,187 | 1/28/2018 |
1.3.0-preview | 908 | 1/27/2018 |
1.2.1 | 1,095 | 1/23/2018 |
1.2.0 | 1,016 | 1/6/2018 |
1.1.1 | 1,098 | 12/2/2017 |
1.1.0 | 1,168 | 11/25/2017 |
1.0.1 | 1,298 | 11/19/2017 |
1.0.0 | 1,765 | 11/19/2017 |
* Updated target frameworks