array of async functions promise.all code example Example: await array of promises await Promise.all(arrayOfPromises)