JS: async/await for multiple promises

前端 未结 0 1877
时光说笑
时光说笑 2020-12-06 12:58

If I have promise running synchronously, how do I want for both of them to finish? Doesn\'t await only work for a single Promise?

async function         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题