nodejs 异步流程控制 async.parallel怎么传入参数?
有人遇到过这个问题吗,你们有什么办法从外部传入一个参数到 async.parallel中?
var param='123'; async.parallel([ function(cb1){ doSomething(param,cb1); } ],function(error,result){ //.... });
三两句话我甚至不知道问题在哪
https://github.com/alsotang/async_demo
我觉得你问题没描述清楚
来自:https://github.com/manxisuo
@imhered 谢谢你,按你的方法,问题解决了
谢谢大家的参与!
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
有人遇到过这个问题吗,你们有什么办法从外部传入一个参数到 async.parallel中?
三两句话我甚至不知道问题在哪
https://github.com/alsotang/async_demo
我觉得你问题没描述清楚
来自:https://github.com/manxisuo
@imhered 谢谢你,按你的方法,问题解决了
谢谢大家的参与!