1.0.9 • Published 10 years ago

computes-echo v1.0.9

Weekly downloads
4
License
ISC
Repository
github
Last release
10 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

10 years ago

1.0.8

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago