Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
new Promise.all()
const promises = [promise1, promise2, promise3]; Promise.all(promises) .then(results => { // .... }) .catch(e => { console.log(e) });