Async for each is an async loop method to allow you to loop and await for async tasks.
npm install async-for-each
import { asyncForEach } from 'async-for-each';
await asyncForEach(myArray, async (arrayItem) => {
await doSomethingToTheItem(arrayItem);
});