computes-echo
Computes.io echo function
Last updated 5 years ago by chrismatthieu .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install computes-echo 
SYNC missed versions from official npm registry.

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();
});

Current Tags

  • 1.0.9                                ...           latest (5 years ago)

9 Versions

  • 1.0.9                                ...           5 years ago
  • 1.0.8                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |