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