merge all promise.all results code example
Example: await all pronmises
Promise.all([promise1, promise2, promise3]).then(function(values) {
console.log(values);
});
Promise.all([promise1, promise2, promise3]).then(function(values) {
console.log(values);
});