re: How to implement `Promise.all`? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: In each recursive call, we wait until head is resolved and then we move on to the remaining promises, is that correct? If so, is that how promise.a...

You are correct. But the other asynchronous executions will not be blocked.

If so, is that how promise.all should work?

I guess this depends on the implementation. I am not so sure how different browsers do it as they are implementation details that I don't really need to care.

code of conduct - report abuse