Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
node_modules /
batch /
Delete
Unzip
Name
Size
Permission
Date
Action
.npmignore
29
B
-rw-r--r--
2022-04-21 14:24
History.md
1.62
KB
-rw-r--r--
2022-04-21 14:24
LICENSE
1.07
KB
-rw-r--r--
2022-04-21 14:24
Makefile
69
B
-rw-r--r--
2022-04-21 14:24
Readme.md
731
B
-rw-r--r--
2022-04-21 14:24
component.json
299
B
-rw-r--r--
2022-04-21 14:24
index.js
2.87
KB
-rw-r--r--
2022-04-21 14:24
package.json
470
B
-rw-r--r--
2022-04-21 14:24
Save
Rename
# batch Simple async batch with concurrency control and progress reporting. ## Installation ``` $ npm install batch ``` ## API ```js var Batch = require('batch') , batch = new Batch; batch.concurrency(4); ids.forEach(function(id){ batch.push(function(done){ User.get(id, done); }); }); batch.on('progress', function(e){ }); batch.end(function(err, users){ }); ``` ### Progress events Contain the "job" index, response value, duration information, and completion data. ``` { index: 1, value: 'bar', pending: 2, total: 3, complete: 2, percent: 66, start: Thu Oct 04 2012 12:25:53 GMT-0700 (PDT), end: Thu Oct 04 2012 12:25:53 GMT-0700 (PDT), duration: 0 } ``` ## License [MIT](LICENSE)