Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
455 bytes
|
Line | |
---|
1 | import { mergeMap } from './mergeMap';
|
---|
2 | export function mergeMapTo(innerObservable, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
|
---|
3 | if (typeof resultSelector === 'function') {
|
---|
4 | return mergeMap(() => innerObservable, resultSelector, concurrent);
|
---|
5 | }
|
---|
6 | if (typeof resultSelector === 'number') {
|
---|
7 | concurrent = resultSelector;
|
---|
8 | }
|
---|
9 | return mergeMap(() => innerObservable, concurrent);
|
---|
10 | }
|
---|
11 | //# sourceMappingURL=mergeMapTo.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.