4597f6485b0073f01854c8285213c5e27ed689fb
2 const { ThreadWorker
} = require('poolifier')
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 ThreadWorker(yourFunction
)