forked from ard/ruoyi-api

‘liusuyi’
2023-12-13 a0d9d5ccd33aa09b4624fdfd2dd3269a9b82ba83
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