即使函数被称为并行,我也使用了 step,执行应该是串行的,请告诉我哪里出错了。
//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
请帮我。谢谢