Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Callback depth can also be flattened easily and naturally, by using named functions that are written down per module "flat" instead of ever deeper inline. Combine that with a modular approach and well-defined interfaces and JS has no "callback hell". Commented Jan 16, 2015 at 20:20
  • nobody should need a whole library to write non-nested async in a closure-ready environment... Commented Jan 16, 2015 at 20:23
  • Thank you @Paul, I have actually tried your suggestion but this results in da() not being run, with no errors. I'm further confused because this is how it 'should' work right? Commented Jan 16, 2015 at 20:40