hugoWebsite/node_modules/rxjs/dist/esm/internal/operators/concatMapTo.js

6 lines
319 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
import { concatMap } from './concatMap';
import { isFunction } from '../util/isFunction';
export function concatMapTo(innerObservable, resultSelector) {
return isFunction(resultSelector) ? concatMap(() => innerObservable, resultSelector) : concatMap(() => innerObservable);
}
//# sourceMappingURL=concatMapTo.js.map