katoikia-app/web-ui/web-react/node_modules/rxjs/_esm2015/internal/Scheduler.js

11 lines
353 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
export class Scheduler {
constructor(SchedulerAction, now = Scheduler.now) {
this.SchedulerAction = SchedulerAction;
this.now = now;
}
schedule(work, delay = 0, state) {
return new this.SchedulerAction(this, work).schedule(state, delay);
}
}
Scheduler.now = () => Date.now();
//# sourceMappingURL=Scheduler.js.map