Quantumbraid's picture
download
raw
540 Bytes
import { Observable } from '../Observable';
export function scheduleArray(input, scheduler) {
return new Observable(function (subscriber) {
var i = 0;
return scheduler.schedule(function () {
if (i === input.length) {
subscriber.complete();
}
else {
subscriber.next(input[i++]);
if (!subscriber.closed) {
this.schedule();
}
}
});
});
}
//# sourceMappingURL=scheduleArray.js.map

Xet Storage Details

Size:
540 Bytes
·
Xet hash:
79a0e3ac3ee3d17206bfc498c3ba874500054aad4c7878be5112e7fc61421de8

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