feige
2024-06-10 7d72e6025ff1fb2ffe9df1920edf9867cf02650d
1
2
3
4
5
6
7
8
9
10
11
import { mergeMap } from './mergeMap';
export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
    if (typeof resultSelector === 'function') {
        return mergeMap(() => innerObservable, resultSelector, concurrent);
    }
    if (typeof resultSelector === 'number') {
        concurrent = resultSelector;
    }
    return mergeMap(() => innerObservable, concurrent);
}
//# sourceMappingURL=mergeMapTo.js.map