node-webworker
node-webworker copied to clipboard
A WebWorkers implementation for NodeJS
Rather than relying on disk IO, it'd be convenient to pass a function as follows to construct the WebWorker: ```js const Worker = require('webworker'); const worker = new Worker(function (msg)...
/home/splincode/Develop/test-selenuim/node_modules/webworker/lib/webworker.js:35 var netBinding = process.binding('net'); ^ Error: No such module: net Node v 7.10
It seems to be broken since node 0.8
In the [README.md, Line 6](https://github.com/pgriess/node-webworker/edit/master/README.md#L6) there is: > See the design document [here](http://blog.std.in/2010/07/08/nodejs-webworker-design/). With a broken link to: http://blog.std.in/2010/07/08/nodejs-webworker-design/ I can't post a pull request because I don't know what...
Changing webworker-child.js to use `script.NodeScript` over `script.Script` when it exists.
ndex 8432afe..f780191 100644 --- a/lib/webworker.js +++ b/lib/webworker.js @@ -32,7 +32,7 @@ var assert = require('assert'); var child_process = require('child_process'); var fs = require('fs'); var net = require('net'); -var netBinding =...
I've added a very simple pre-compilation step to the webworker-child.js file. This change does not require you to have coffeescript installed or use it at all, but if you have...
Fixed issue #24, added a few comments to clarify what's going on, enabled syntax highlighting for github.
Hi, Just a couple commits to clean-up the sockets after the worker is done. This also removes a dependency on websocket-client (that commit can also be removed). Best regards, Jak