Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

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