3 ms·
To make things easier, you can use node-fibers (https://github.com/laverdet/node-fibers https://github.com/laverdet/node-fibers) to structure your asynchronous
by shangaslammi 15y ago
To make things easier, you can use node-fibers (https://github.com/laverdet/node-fibers https://github.com/laverdet/node-fibers) to structure your asynchronous code with coroutines or, if you are feeling less adventurous, async (https://github.com/caolan/async https://github.com/caolan/async) is an excellent helper library for common asynchronous code patterns and it works on the client-side as well.