async
文章平均质量分 78
qiucheng55
这个作者很懒,什么都没留下…
展开
-
对于async的错误理解
/** * Created by qiucheng on 15/8/27. */ var async = require("async"); var arr = [1, 2, 3]; var transformed = arr.map(function (ele) { return ele * 3; }); console.log(transformed); async.ma原创 2015-08-27 15:24:21 · 522 阅读 · 0 评论 -
async注意点
1.如果在第二个function中不使用异步的话,end会先被打印。原因如下 parallel(any function in async) is about kicking-off I/O tasks in parallel, not about parallel execution of code. If your tasks do not use any timers or pe原创 2015-08-27 16:24:55 · 473 阅读 · 0 评论