1.0.9 • Published 8 years ago

computes-echo v1.0.9

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

computes-echo

Computes.io can now run NPM modules across thousands of cores. This is the first of a new series of NPM modules to come.

Here's an example of how to use this code:

var computes = require("computes");
var options = {
  domain: "{your-domain-key-issued-by-computes.io}",
  priority: "normal",  //'low', 'normal' & 'high'
  ttl: 60000,  // milliseconds
  delay: 0 //milliseconds
};

var job = computes.connect(options.domain);

job.on("ready", function (){
  job.compute("npm://computes-echo@latest", "hello world", options);
});

job.on("result", function (results){
  console.log(results.result);
  job.disconnect();
});
1.0.9

8 years ago

1.0.8

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago