promise.all 与 async task unit中throw的牵扯。。。。。。。_promise.all 里面的throw-CSDN博客

网站介绍:文章浏览阅读517次。async function test1() { // throw new Error('eeeee') console.log('test'); return 1;}async function test2() { // throw new Error('error2'); return 2;}const asyncTasks = [1, 2, 3].map(asy_promise.all 里面的throw