3 ms·
I'd just: async function getResult3(){ const res = await task2() return task3(res)) } const [result1, result3] = await Promise.all([ta
by nailer 6y ago
I'd just:
async function getResult3(){
const res = await task2()
return task3(res))
}
const [result1, result3] = await Promise.all([task1(),
getResult3()])