【文件属性】:
文件名称:node-batch:批
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-16 02:23:10
JavaScript
批
队列函数并并行运行它们
例子
var Batch = require ( 'batch' ) ;
var batch = new Batch ( ) ;
batch
. push ( function ( done ) { done ( null , 'foo' ) } )
. push ( function ( done ) { done ( null , 'bar' ) } )
. end ( function ( err , res ) {
// ...
} ) ;
执照
麻省理工学院
【文件预览】:
node-batch-master
----.gitignore(12B)
----package.json(289B)
----Makefile(119B)
----History.md(65B)
----Readme.md(287B)
----lib()
--------index.js(881B)
----test()
--------index.js(1KB)