initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
16
node_modules/rxjs/dist/esm/internal/util/executeSchedule.js
generated
vendored
Normal file
16
node_modules/rxjs/dist/esm/internal/util/executeSchedule.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue