Class OperatorWithLatestFrom<T,U,R>

  • Type Parameters:
    T - the element type of the main observable
    U - the element type of the other observable that is merged into the main
    R - the result element type
    All Implemented Interfaces:
    Func1<Subscriber<? super R>,Subscriber<? super T>>, Function, Observable.Operator<R,T>


    public final class OperatorWithLatestFrom<T,U,R>
    extends Object
    implements Observable.Operator<R,T>
    Combines values from two sources only when the main source emits.
    • Constructor Detail

      • OperatorWithLatestFrom

        public OperatorWithLatestFrom(Observable<? extends U> other,
                                      Func2<? super T,? super U,? extends R> resultSelector)