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 602B

12345678910111213141516171819
  1. var Scheduler = /*@__PURE__*/ (function () {
  2. function Scheduler(SchedulerAction, now) {
  3. if (now === void 0) {
  4. now = Scheduler.now;
  5. }
  6. this.SchedulerAction = SchedulerAction;
  7. this.now = now;
  8. }
  9. Scheduler.prototype.schedule = function (work, delay, state) {
  10. if (delay === void 0) {
  11. delay = 0;
  12. }
  13. return new this.SchedulerAction(this, work).schedule(state, delay);
  14. };
  15. Scheduler.now = function () { return Date.now(); };
  16. return Scheduler;
  17. }());
  18. export { Scheduler };
  19. //# sourceMappingURL=Scheduler.js.map