0.0.1 • Published 6 years ago
node-workerize v0.0.1
node-workerize
Install
npm install node-workerize
Usage
const workerize = require('node-workerize')(__filename)
function sum(a, b) {
return a + b
}
const workerizeSum = workerize(sum)
workerizeAdd(11, 22).then(result => {
// result === 33
})
0.0.1
6 years ago