CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
example.js15 linesDownload Raw Back to fastq
1'use strict'2 3/* eslint-disable no-var */4 5var queue = require('./')(worker, 1)6 7queue.push(42, function (err, result) {8  if (err) { throw err }9  console.log('the result is', result)10})11 12function worker (arg, cb) {13  cb(null, 42 * 2)14}15