Buckets:
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.executeSchedule = void 0; | |
| function executeSchedule(parentSubscription, scheduler, work, delay, repeat) { | |
| if (delay === void 0) { delay = 0; } | |
| if (repeat === void 0) { repeat = false; } | |
| var scheduleSubscription = scheduler.schedule(function () { | |
| work(); | |
| if (repeat) { | |
| parentSubscription.add(this.schedule(null, delay)); | |
| } | |
| else { | |
| this.unsubscribe(); | |
| } | |
| }, delay); | |
| parentSubscription.add(scheduleSubscription); | |
| if (!repeat) { | |
| return scheduleSubscription; | |
| } | |
| } | |
| exports.executeSchedule = executeSchedule; | |
| //# sourceMappingURL=executeSchedule.js.map |
Xet Storage Details
- Size:
- 726 Bytes
- Xet hash:
- 3e2b3b49369200e2e7f7ed63e91cabf6bcc36c70a96da073ff2f7d65e7dcb145
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.