Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nofail.js 384B

12345678910111213
  1. var mod_vasync = require('../lib/vasync');
  2. var mod_util = require('util');
  3. var mod_fs = require('fs');
  4. var status = mod_vasync.parallel({
  5. funcs: [
  6. function f1 (callback) { mod_fs.stat('/tmp', callback); },
  7. function f2 (callback) { mod_fs.stat('/var', callback); }
  8. ]
  9. }, function (err, results) {
  10. console.log(err);
  11. console.log(mod_util.inspect(results, false, 8));
  12. });