h2non / thread.js

Frictionless library to deal with multithread programming in the browser
MIT License
41 stars 4 forks source link

Deep testing passing and binding custom values in pool task #19

Closed h2non closed 10 years ago

h2non commented 10 years ago
var job = thread().pool(10)

job.run(function (num) {
  return env.x * num
}, { x: 2 }, [ 8 ])
h2non commented 10 years ago

Partially done

h2non commented 10 years ago

Done!