https://github.com/damieng/parallel.foreachasync.net
Port of Microsoft's Parallel.ForEachAsync from .NET 6.0 to .NET Core 3.1.
https://github.com/damieng/parallel.foreachasync.net
csharp dotnet foreachasync parallel
Last synced: 7 months ago
JSON representation
Port of Microsoft's Parallel.ForEachAsync from .NET 6.0 to .NET Core 3.1.
- Host: GitHub
- URL: https://github.com/damieng/parallel.foreachasync.net
- Owner: damieng
- License: mit
- Created: 2021-10-26T14:23:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T14:37:47.000Z (over 4 years ago)
- Last Synced: 2025-08-16T03:15:31.580Z (7 months ago)
- Topics: csharp, dotnet, foreachasync, parallel
- Language: C#
- Homepage:
- Size: 30.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parallel.ForEachAsync.NET
A port of Microsoft's Parallel.ForEachAsync from .NET 6.0 to .NET Core 3.1..
Scott Hanselman has a [great article on Parallel.ForEachAsync](https://www.hanselman.com/blog/parallelforeachasync-in-net-6).
The TL;DR; is if you have a function you want to run many times in parallel against a list of data concurrently then this is probably the class you want.
**If you are using .NET 6.0 you do not need this library - it is built in.**
For those stuck on .NET 5.0 or .NET Core 3.1 this library gives you that functionality (but you miss out on a lot of other .NET 6 task-related features so consider upgrading) without any additional functionality or dependencies along for the ride.
## How can I contribute?
This is an almost 100% port of the code from https://github.com/dotnet/runtime/ and there are no plans to add any functionality beyond what is in https://github.com/dotnet/runtime/blob/53d1d2c6ec322fd5eb3351982107d389c182ad46/src/libraries/System.Threading.Tasks.Parallel/src/System/Threading/Tasks/Parallel.ForEachAsync.cs
## License
.NET (including the runtime repo) is licensed under the [MIT](https://github.com/damieng/ParallelForEachAsync.NET/blob/main/LICENCE.txt) license.