You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

debug.js 251B

123456789101112
  1. 'use strict'
  2. const workerFarm = require('../')
  3. , workers = workerFarm(require.resolve('./child'), ['args'])
  4. workers.args(function(err, result) {
  5. console.log(result);
  6. workerFarm.end(workers)
  7. console.log('FINISHED')
  8. process.exit(0)
  9. })