co-parallel icon indicating copy to clipboard operation
co-parallel copied to clipboard

"object is not a function" in example code

Open carcinocron opened this issue 9 years ago • 0 comments

co(function *(){
  var reqs = urls.map(status);
  var res = yield parallel(reqs, 2);
  console.log(res);
})();

It looks like the last parenthesis do not belong.

carcinocron avatar Dec 09 '15 19:12 carcinocron