c7211b7bfd2b9fe5883059ef9bba8771d614381d
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 ' + isMainThread)
15 module
.exports
= new ClusterWorker(yourFunction
)