🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
11
node_modules/fastq/example.mjs
generated
vendored
Normal file
11
node_modules/fastq/example.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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