How to run async loops in sequence or in parallel?
Before doing asynchronous magic with loops I want to remind you how we write classical synchronous loops.
Long time ago I was writing loops like this (probably you too):
It is good, it is fast, but it has many readability and maintenance issues. Then I used to use its better version:
How to use await inside a loop? Let’s just write async function and await each task.
... read the whole story at blog.lavrton.com.