I have a foreach loop that contains an API call and is very slow, I want to make it parallel.
foreach
My simplified current working code is: