Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mergeMapTo.js 604B

123456789101112131415
  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