Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

Scheduler.js 633B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var Scheduler = (function () {
  4. function Scheduler(SchedulerAction, now) {
  5. if (now === void 0) { now = Scheduler.now; }
  6. this.SchedulerAction = SchedulerAction;
  7. this.now = now;
  8. }
  9. Scheduler.prototype.schedule = function (work, delay, state) {
  10. if (delay === void 0) { delay = 0; }
  11. return new this.SchedulerAction(this, work).schedule(state, delay);
  12. };
  13. Scheduler.now = function () { return Date.now(); };
  14. return Scheduler;
  15. }());
  16. exports.Scheduler = Scheduler;
  17. //# sourceMappingURL=Scheduler.js.map