Buckets:

imerfanrajabee's picture
download
raw
505 Bytes
export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {
const scheduleSubscription = scheduler.schedule(function () {
work();
if (repeat) {
parentSubscription.add(this.schedule(null, delay));
}
else {
this.unsubscribe();
}
}, delay);
parentSubscription.add(scheduleSubscription);
if (!repeat) {
return scheduleSubscription;
}
}
//# sourceMappingURL=executeSchedule.js.map

Xet Storage Details

Size:
505 Bytes
·
Xet hash:
afccf68bdebee3ba98af091628aafda7e9b190927e0e5022e6905fe21fc587d4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.