GoScrobble/web/node_modules/worker-farm/examples/basic/child.js

6 lines
113 B
JavaScript

'use strict'
module.exports = function (inp, callback) {
callback(null, inp + ' BAR (' + process.pid + ')')
}