Add web front-end and fix API issues
This commit is contained in:
1 parent
45ca4de0ad
commit
a7524412f0
2571 files changed
+86998
-5
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
import { dateTimestampProvider } from './scheduler/dateTimestampProvider';
|
||||
var Scheduler = (function () {
|
||||
function Scheduler(schedulerActionCtor, now) {
|
||||
if (now === void 0) { now = Scheduler.now; }
|
||||
this.schedulerActionCtor = schedulerActionCtor;
|
||||
this.now = now;
|
||||
}
|
||||
Scheduler.prototype.schedule = function (work, delay, state) {
|
||||
if (delay === void 0) { delay = 0; }
|
||||
return new this.schedulerActionCtor(this, work).schedule(state, delay);
|
||||
};
|
||||
Scheduler.now = dateTimestampProvider.now;
|
||||
return Scheduler;
|
||||
}());
|
||||
export { Scheduler };
|
||||
//# sourceMappingURL=Scheduler.js.map
|
||||
Reference in new issue
Block a user