artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq-demo-v2_09_03/SLF7/s46-e14-prof/build/artdaq_node_server/v1_00_07/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/spread.js

var say = _.spread(function(who, what) { return who + ' says ' + what; });

say(['fred', 'hello']); // => 'fred says hello'

var numbers = Promise.all([ Promise.resolve(40), Promise.resolve(36) ]);

numbers.then(_.spread(function(x, y) { return x + y; })); // => a Promise of 76