Constants for “fulfilled” and “rejected” for nodejs Promise.allSettled

后端 未结 0 1065
傲寒
傲寒 2021-02-06 13:42

I\'ve recently been using Promise.allSettled to run async methods in parallel and collect the successful/failed results.

I usually do something like:



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