const somefunction = async () => {
const arr = [...]
for(let i = 0 ; i < arr.length ; ++i){
await updater(arr[i])
}
}
The above for loop will wait for the promise to resolve before moving to the next iteration, but, is this now a blocking action for the main event loop in nodejs?
please note: this is a "for" not a "forEach" loop. Very different.