This commit is contained in:
Gilles Soulier
2026-01-17 15:58:01 +01:00
parent 1f7f7da0c3
commit dc19315e5d
5616 changed files with 1609815 additions and 18 deletions

9
webui/node_modules/fastq/example.mjs generated vendored Normal file
View File

@@ -0,0 +1,9 @@
import { promise as queueAsPromised } from './queue.js'
const queue = queueAsPromised(worker, 1)
console.log('the result is', await queue.push(42))
async function worker (arg) {
return 42 * 2
}