Iterate an array sequentially, awaiting an async callback for each element before moving to the next (unlike Array.prototype.forEach, which does not await).
Array.prototype.forEach
The element type of the array.
The array to iterate.
Async callback invoked with each item, its index, and the array.
Iterate an array sequentially, awaiting an async callback for each element before moving to the next (unlike
Array.prototype.forEach, which does not await).