go integration and wikipedia
This commit is contained in:
parent
47a252e339
commit
ee90335b92
7828 changed files with 1307913 additions and 20807 deletions
9
frontend/node_modules/fastq/example.mjs
generated
vendored
Normal file
9
frontend/node_modules/fastq/example.mjs
generated
vendored
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue