Buckets:

imerfanrajabee's picture
download
raw
702 Bytes
import { concat } from '../observable/concat';
import { take } from './take';
import { ignoreElements } from './ignoreElements';
import { mapTo } from './mapTo';
import { mergeMap } from './mergeMap';
import { innerFrom } from '../observable/innerFrom';
export function delayWhen(delayDurationSelector, subscriptionDelay) {
if (subscriptionDelay) {
return function (source) {
return concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));
};
}
return mergeMap(function (value, index) { return innerFrom(delayDurationSelector(value, index)).pipe(take(1), mapTo(value)); });
}
//# sourceMappingURL=delayWhen.js.map

Xet Storage Details

Size:
702 Bytes
·
Xet hash:
faf72d497d6d3f2afcacf56412d9695fa4e774f9d92681158eff69329d97d6f8

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