4 ms·
Promises are the only real solution. https://github.com/kriskowal/q https://github.com/kriskowal/q
by embwbam 13y ago
Promises are the only real solution. https://github.com/kriskowal/q https://github.com/kriskowal/q
- bilbo0s 13y agoIt's still callback spaghetti though right. You still need to break function "doAll()" into function "doPart1()", "doPart2()"...,"doPartN()". It's just that now you have a new syntax for calling all of the functions. Like Rx for JavaScript instead of C#. I do believe the syntax for calling all of the component functions is better.. but it would be great if you didn't have to make the component functions at all.