@@ -7849,6 +7849,7 @@ public final <E> Observable<T> takeUntil(Observable<? extends E> other) {
7849
7849
* @return an Observable that emits the items from the source Observable so long as each item satisfies the
7850
7850
* condition defined by {@code predicate}, then completes
7851
7851
* @see <a href="http://reactivex.io/documentation/operators/takewhile.html">ReactiveX operators documentation: TakeWhile</a>
7852
+ * @see Observable#takeUntil(Func1)
7852
7853
*/
7853
7854
public final Observable <T > takeWhile (final Func1 <? super T , Boolean > predicate ) {
7854
7855
return lift (new OperatorTakeWhile <T >(predicate ));
@@ -7858,13 +7859,17 @@ public final Observable<T> takeWhile(final Func1<? super T, Boolean> predicate)
7858
7859
* Returns an Observable that emits items emitted by the source Observable, checks the specified predicate
7859
7860
* for each item, and then completes if the condition is satisfied.
7860
7861
* <p>
7862
+ * <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/takeUntil.p.png" alt="">
7863
+ * <p>
7861
7864
* The difference between this operator and {@link #takeWhile(Func1)} is that here, the condition is
7862
7865
* evaluated <em>after</em> the item is emitted.
7863
7866
*
7867
+ * @warn "Scheduler" and "Backpressure Support" sections missing from javadocs
7864
7868
* @param stopPredicate
7865
7869
* a function that evaluates an item emitted by the source Observable and returns a Boolean
7866
7870
* @return an Observable that first emits items emitted by the source Observable, checks the specified
7867
7871
* condition after each item, and then completes if the condition is satisfied.
7872
+ * @see <a href="http://reactivex.io/documentation/operators/takeuntil.html">ReactiveX operators documentation: TakeUntil</a>
7868
7873
* @see Observable#takeWhile(Func1)
7869
7874
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
7870
7875
*/
0 commit comments