Skip to content

Out of order execution when mixing joins and fits. #6

Open
kevinswiber opened this Issue Nov 13, 2013 · 0 comments

1 participant

@kevinswiber
Owner

Example:

var pipeworks = require('pipeworks');

var a = pipeworks()
  .fit(function(next) {
    console.log('a');
    next();
  });

var b = pipeworks()
  .fit(function(next) {
    console.log('b');
    next();
  });

var c = function(next) {
    console.log('c');
    next();
};

var d = pipeworks()
  .fit(function(next) {
    console.log('d');
    next();
  });

a.join(b).fit(c).join(d).flow();

// Output:
// a
// c
// b
// d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.