forked from ard/ruoyi-api

‘liusuyi’
2023-06-30 3089fbc788d1dbd638d1cfd9c2f9b7f2011d0af0
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