2 const { ThreadWorker } = require('poolifier')
5 console.info('Executing fn0')
6 return { data: `fn0 input text was '${data.text}'` }
10 console.info('Executing fn1')
11 return { data: `fn1 input text was '${data.text}'` }
14 module.exports = new ThreadWorker({ fn0, fn1 })