Skip to content

Commit

Permalink
feat: try out now_and_later
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Aug 17, 2014
1 parent 5d02039 commit 3a431a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var bach = require('bach');
var nowAndLater = require('now-and-later');

var normalizeArgs = require('./lib/normalizeArgs');
var validateRegistry = require('./lib/validateRegistry');
Expand Down Expand Up @@ -42,12 +42,12 @@ Orchestrator.prototype.setRegistry = function(newRegistry){

Orchestrator.prototype.series = function(){
var args = normalizeArgs(this.registry, arguments);
return bach.series(args);
return nowAndLater.series(args);
};

Orchestrator.prototype.parallel = function(){
var args = normalizeArgs(this.registry, arguments);
return bach.parallel(args);
return nowAndLater.parallel(args);
};

module.exports = Orchestrator;
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"compose"
],
"dependencies": {
"bach": "~0.1.0",
"async-done": "~0.3.0"
"async-done": "~0.3.0",
"now-and-later": "0.0.1"
},
"devDependencies": {
"lab": "^3.1.1",
Expand Down

0 comments on commit 3a431a0

Please sign in to comment.