Returns a promise that is resolved when the tokens provided in the array have had there listeners called and resolved.

var tokenA = dispatcher.register(function(payload) {
  
});

dispatcher.register(function(payload) {
  dispatcher.waitFor([ tokenA ]).then(function() {
    // tokenA's listener has been called
  });
});

var payload = {};

dispatcher.dispatch(payload);

👍

On to Fluxapp Module