1692c284b218c1decb5b5b451e80b1ff81e0283f
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
)