✏️ 编辑:example.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/fastq/example.js
大小:238 B · 修改:2022-11-21 20:08:48 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
'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) }
💾 保存
取消
保存为 UTF-8,换行统一为 LF