Outbound Link Summary:
3 years ago
p3k dots

This fooled me so hard already.

Async loops — and why they fail!

forEach expects a synchronous function – forEach does not wait for promises. Kindly make sure you are aware of the implications while using promises (or async functions) as forEach callback.