✏️ 编辑:example.mjs
路径:
/home/boguraj1/public_html/jobsite/node_modules/fastq/example.mjs
大小:221 B · 修改:2022-11-21 20:08:48 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
import { promise as queueAsPromised } from './queue.js' /* eslint-disable */ const queue = queueAsPromised(worker, 1) console.log('the result is', await queue.push(42)) async function worker (arg) { return 42 * 2 }
💾 保存
取消
保存为 UTF-8,换行统一为 LF