I have used step even then function get called parallel, the execution should be in series please tell me where i am going wrong.
//sample code
var step=require('step')
step(
function first()
{
process();//calling function here
return this; returning this to next function
},
function second()
{
process2();//calling another fun here
return this;
},
function third()
{
process3();//calling function here
return this; returning this to next function
}
);//step end here
please help me. Thanks