問題:
What is the difference between Task.WaitAll()
and Task.WhenAll()
from the Async CTP ? Async CTP 中的Task.WaitAll()
和Task.WhenAll()
什麼區別? Can you provide some sample code to illustrate the different use cases ?您能否提供一些示例代碼來說明不同的用例?
解決方案:
參考一: https://stackoom.com/question/Pgyc參考二: WaitAll vs WhenAll