minor adjustment to readme
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm5 / internal / operators / mergeMapTo.js
1 /** PURE_IMPORTS_START _mergeMap PURE_IMPORTS_END */
2 import { mergeMap } from './mergeMap';
3 export function mergeMapTo(innerObservable, resultSelector, concurrent) {
4     if (concurrent === void 0) {
5         concurrent = Number.POSITIVE_INFINITY;
6     }
7     if (typeof resultSelector === 'function') {
8         return mergeMap(function () { return innerObservable; }, resultSelector, concurrent);
9     }
10     if (typeof resultSelector === 'number') {
11         concurrent = resultSelector;
12     }
13     return mergeMap(function () { return innerObservable; }, concurrent);
14 }
15 //# sourceMappingURL=mergeMapTo.js.map