3 ms·
You could write your own way of doing it or use an existing flow control library. There are lots. :) https://github.com/joyent/node/wiki/modules#wiki-async-flo
by fatjonny 15y ago
You could write your own way of doing it or use an existing flow control library. There are lots. :)
https://github.com/joyent/node/wiki/modules#wiki-async-flow https://github.com/joyent/node/wiki/modules#wiki-async-flow
For a specific example, look at async.parallel:
https://github.com/caolan/async https://github.com/caolan/async
- agscala 15y agoI wish I knew about this kind of thing last time I hacked on node.js... I would have had such better & cleaner code. This clears up a lot. Thanks