Sign in
Log inSign up
Theodoros Karropoulos

1 like

·

170 reads

2 comments

Sami Mejri
Sami Mejri
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
Theodoros Karropoulos
Theodoros Karropoulos
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
·