Currenly using the following code to wait for a collection of tasks to complete. However, I now have a situation where I want to be able to cancel/abort the WhenAll call, v
More elegant from my opinion :
await Task.Run(()=> Task.WaitAll(myArrayOfTasks), theCancellationToken);