Skip to content

Commit

Permalink
Merge 6706494 into 7f3d3e1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tane Morgan committed Mar 29, 2019
2 parents 7f3d3e1 + 6706494 commit 6ee285a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/operators/exhaustMap.ts
Expand Up @@ -38,12 +38,12 @@ export function exhaustMap<T, I, R>(project: (value: T, index: number) => Observ
* ## Example
* Run a finite timer for each click, only if there is no currently active timer
* ```ts
* import { fromEvent, } from 'rxjs';
* import { fromEvent, interval } from 'rxjs';
* import { exhaustMap, take } from 'rxjs/operators';
*
* const clicks = fromEvent(document, 'click');
* const result = clicks.pipe(
* exhaustMap((ev) => interval(1000).pipe(take(5))),
* exhaustMap(ev => interval(1000).pipe(take(5)))
* );
* result.subscribe(x => console.log(x));
* ```
Expand Down

0 comments on commit 6ee285a

Please sign in to comment.