UNPKG

worker-farm

Version:

Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options.

6 lines (4 loc) 113 B
'use strict' module.exports = function (inp, callback) { callback(null, inp + ' BAR (' + process.pid + ')') }