text: var asap = require("falcor-asap");
  var empty = {dispose: function() {}};
  
  function ASAPScheduler() {}
  
  ASAPScheduler.prototype.schedule = function schedule(action) {
      asap(action);
      return empty;
  };
  
  ASAPScheduler.prototype.scheduleWithState = function scheduleWithState(state, action) {
      var self = this;
      asap(function() {
          action(self, state);
      });
      return empty;
  };
  
  module.exports = ASAPScheduler;
  