Initial implementation

This commit is contained in:
Atharva Sawant
2024-02-15 16:47:23 +05:30
commit ffb5eeddf2
8439 changed files with 2230738 additions and 0 deletions

11
node_modules/fastq/example.mjs generated vendored Normal file
View 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
}