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

Scheduler.js 353B

1234567891011
  1. export class Scheduler {
  2. constructor(SchedulerAction, now = Scheduler.now) {
  3. this.SchedulerAction = SchedulerAction;
  4. this.now = now;
  5. }
  6. schedule(work, delay = 0, state) {
  7. return new this.SchedulerAction(this, work).schedule(state, delay);
  8. }
  9. }
  10. Scheduler.now = () => Date.now();
  11. //# sourceMappingURL=Scheduler.js.map