Skip to content
Browse files

Update README.

  • Loading branch information...
1 parent 03e0aba commit f61b82d866a9c659976e8d66552c8d0d8af04b9d @Kami committed Mar 30, 2011
Showing with 8 additions and 34 deletions.
  1. +8 −34 README.md
View
42 README.md
@@ -1,38 +1,12 @@
-# node-worker - 0.0.1
+Node Worker Pool
+================
-node-worker is an implementation of the WebWorker API for node.js.
-http://www.whatwg.org/specs/web-workers/current-work/
-
-## Example
-
- var Worker = require("../lib/worker").Worker;
-
- var worker = new Worker("worker.js");
-
- worker.postMessage({
- hello: "world"
- });
-
- worker.onmessage = function (msg) {
- sys.puts(msg.hello);
- };
-
- worker.addListener("message", function (msg) {
- sys.puts(msg.hello);
- worker.terminate();
- });
-
-## Example Worker File
-
- var worker = require("worker").worker;
-
- worker.onmessage = function (msg) {
- worker.postMessage({
- hello: "mother"
- });
- };
-
-
+An implementation of the web worker API with a worker pool support.
+Based on the [node-worker](https://github.com/cramforce/node-worker) library by
+Malte Ubl.
+Examples
+========
+For examples, please see `test` directory.

0 comments on commit f61b82d

Please sign in to comment.
Something went wrong with that request. Please try again.