DEV Community

Discussion on: Using JavaScript Promises for Non-Async Control Flow?

Collapse
dmerand profile image
Donald Merand Author

This is a good point - once you start promising you can't stop! Thanks for pointing that out - it's definitely helpful to keep in mind.

I haven't done speed tests, but I've run tests to see if I can get promises in a chain to run out of order, and I haven't found a way to break it yet. Admittedly, I'm no JavaScript hacker, but I'm generally pleased with the approach thus far.