This post is part of the 2021 C# Advent calendar. Check it out for more C# goodness!
Intro This post contains a very technical dive. It is of intermediate complexity, and assumes a basic knowledge of how async/await works.
.NET 6 introduced a small feature that’s important, but was probably overlooked - Parallel.ForEachAsync.
This is a (IMO) pretty powerful and elegant implementation of something that’s been missing for a while from .