refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
11
home/ags/node_modules/fastq/example.mjs
generated
vendored
11
home/ags/node_modules/fastq/example.mjs
generated
vendored
|
|
@ -1,11 +0,0 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue