Aggregate Multiple API Requests with Promise.all()
An alternative to using async/await is to use the .then () method of a promise. With Promise.all (), we handle multiple similar requests concurrently and return a single aggregated response. Promise.all () takes an iterable (an array) of promises. It returns an array containing each promise resolution in the same order.