You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I came up with the following solution after a lot of mistakes, and a solution that didn't run in parallel,
like do promise2 only after promise1 is done.
I think it runs in parallel, since I did a console.log(i) inside the for loop, and the number of promises passed to function all() printed instantly... but I can't say I'm sure it really works in parallel.
So I came up with the following solution after a lot of mistakes, and a solution that didn't run in parallel,
like do
promise2
only afterpromise1
is done.I think it runs in parallel, since I did a
console.log(i)
inside thefor
loop, and the number of promises passed tofunction all()
printed instantly... but I can't say I'm sure it really works in parallel.The text was updated successfully, but these errors were encountered: