mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
266 B
266 B
id | title |
---|---|
9c42715a-8324-4570-ab92-927b608aa02a | Executing Promises in Parallel |
Promise.all([
asyncFunc1(),
asyncFunc2(),
])
.then(([result1, result2]) => {
})
.catch(err => {
// Receives first rejection among the Promises
});