Resolving promises sequentially

Ugly it is, to have to nest promise executions

TLDR;
This is the explanation that worked for me:
https://css-tricks.com/why-using-reduce-to-sequentially-resolve-promises-works/

Nicely done.


Others say the same things little bit differently:
https://decembersoft.com/posts/promises-in-serial-with-array-reduce/
https://hackernoon.com/functional-javascript-resolving-promises-sequentially-7aac18c4431e


Comments

Popular Posts