RxJava



rx.operators
Class OperatorTakeUntil

java.lang.Object
  extended by rx.operators.OperatorTakeUntil

public class OperatorTakeUntil
extends java.lang.Object


Constructor Summary
OperatorTakeUntil()
           
 
Method Summary
static
<T,E> Observable<T>
takeUntil(Observable<T> source, Observable<E> other)
          Returns the values from the source observable sequence until the other observable sequence produces a value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorTakeUntil

public OperatorTakeUntil()
Method Detail

takeUntil

public static <T,E> Observable<T> takeUntil(Observable<T> source,
                                            Observable<E> other)
Returns the values from the source observable sequence until the other observable sequence produces a value.

Type Parameters:
T - the type of source.
E - the other type.
Parameters:
source - the source sequence to propagate elements for.
other - the observable sequence that terminates propagation of elements of the source sequence.
Returns:
An observable sequence containing the elements of the source sequence up to the point the other sequence interrupted further propagation.