Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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