Skip to content

Commit

Permalink
Merge pull request #2418 from jeffbski/patch-1
Browse files Browse the repository at this point in the history
Correct takeUntil comment - does not stop taking values if notifier completes without emitting
  • Loading branch information
kwonoj authored Sep 19, 2017
2 parents b82a3f0 + 8d0946e commit e5403ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/takeUntil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { subscribeToResult } from '../util/subscribeToResult';
*
* `takeUntil` subscribes and begins mirroring the source Observable. It also
* monitors a second Observable, `notifier` that you provide. If the `notifier`
* emits a value or a complete notification, the output Observable stops
* mirroring the source Observable and completes.
* emits a value, the output Observable stops mirroring the source Observable
* and completes.
*
* @example <caption>Tick every second until the first click happens</caption>
* var interval = Rx.Observable.interval(1000);
Expand Down

0 comments on commit e5403ef

Please sign in to comment.