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 664B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var mergeMap_1 = require("./mergeMap");
  4. function mergeMapTo(innerObservable, resultSelector, concurrent) {
  5. if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }
  6. if (typeof resultSelector === 'function') {
  7. return mergeMap_1.mergeMap(function () { return innerObservable; }, resultSelector, concurrent);
  8. }
  9. if (typeof resultSelector === 'number') {
  10. concurrent = resultSelector;
  11. }
  12. return mergeMap_1.mergeMap(function () { return innerObservable; }, concurrent);
  13. }
  14. exports.mergeMapTo = mergeMapTo;
  15. //# sourceMappingURL=mergeMapTo.js.map