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