b4d54fca9976e65bbbb76da3ff5d54a4673815ff
2 const { ClusterWorker
} = require('../../../lib/index')
4 function yourFunction (data
) {
5 for (let i
= 0; i
< 1000; i
++) {
11 // console.log('This is the main thread ' + isMaster)
15 module
.exports
= new ClusterWorker(yourFunction
)