搜尋

首頁  >  問答  >  主體

node.js - nodejs bagpipe控制 并发的问题

地址:https://www.npmjs.com/package...
不知道有没有人使用过

这个代码没问题

bagpipe.push(fs.readFile, files[i], function (err, res){

  });

这个就报错了。

bagpipe.push(fs.readFileSync, files[i]);

谁能解释一下?

天蓬老师天蓬老师2873 天前434

全部回覆(0)我來回復

無回覆
  • 取消回覆