Multiple ways how to limit parallel tasks processing

added by DotNetKicks
9/4/2018 1:11:02 PM

2 Kicks, 818 Views

I decided to write this post because across several reviews I saw several implementations how to solve the following interesting exercise. Exercise: Let's have a list of items. We need to execute an asynchronous task for each of them in concurrently limited way (aka max degree of parallelism) and we need to collect all the...