To avoid callback hell , a very useful tool for structuring calls in a sequence and make sure the steps pass the data to the next step. nJoy 😉
Async waterfall example nodejs
Posted on
To avoid callback hell , a very useful tool for structuring calls in a sequence and make sure the steps pass the data to the next step. nJoy 😉
Sometimes you want to run something in the OS from your node code but you do not want to follow it or have a callback posted on your stack. The default for child_process spawning is to hold on to a handle and park a callback on the stack. however there is an option which is…