1 like
·
170 reads
2 comments
·Jan 7, 2023
Jan 7, 2023
Great read, thanks. However, some developers do not now the difference between WhenAll and WaitAll, it would fantastic if you added the comparison to your article.
1
·
·1 reply
Author
·Jan 7, 2023
Thanks Sami Mejri for your response and I am glad you find it helpful. As a short response the main difference between Task.WaitAll and Task.WhenAll is that WaitAll blocks the current thread until all other tasks have completed, while WhenAll creates a task that completes when all the other tasks have completed without blocking the thread.
1
·