refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
14
home/ags/node_modules/fastq/example.js
generated
vendored
14
home/ags/node_modules/fastq/example.js
generated
vendored
|
|
@ -1,14 +0,0 @@
|
|||
'use strict'
|
||||
|
||||
/* eslint-disable no-var */
|
||||
|
||||
var queue = require('./')(worker, 1)
|
||||
|
||||
queue.push(42, function (err, result) {
|
||||
if (err) { throw err }
|
||||
console.log('the result is', result)
|
||||
})
|
||||
|
||||
function worker (arg, cb) {
|
||||
cb(null, 42 * 2)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue