Skip to content

Commit

Permalink
Merge pull request ReactiveX#2374 from kwonoj/style-mergeall
Browse files Browse the repository at this point in the history
fix(mergeAll): introduce variant support <T, R> for mergeMap
  • Loading branch information
kwonoj authored Feb 14, 2017
2 parents 25ee5b3 + 656f2b3 commit 02cbda6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/operator/mergeAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import { Operator } from '../Operator';
import { Observer } from '../Observer';
import { Subscription } from '../Subscription';
import { OuterSubscriber } from '../OuterSubscriber';
import { Subscribable } from '../Observable';
import { subscribeToResult } from '../util/subscribeToResult';

export function mergeAll<T>(this: Observable<T>, concurrent?: number): T;
export function mergeAll<T, R>(this: Observable<T>, concurrent?: number): Subscribable<R>;

/**
* Converts a higher-order Observable into a first-order Observable which
* concurrently delivers all values that are emitted on the inner Observables.
Expand Down

0 comments on commit 02cbda6

Please sign in to comment.