Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
664 bytes
|
Line | |
---|
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 |
---|
Note:
See
TracBrowser
for help on using the repository browser.