RxJava



rx.operators
Class OperatorParallel<T,R>

java.lang.Object
  extended by rx.operators.OperatorParallel<T,R>
All Implemented Interfaces:
Func1<Subscriber<? super R>,Subscriber<? super T>>, Function, Observable.Operator<R,T>

public final class OperatorParallel<T,R>
extends java.lang.Object
implements Observable.Operator<R,T>

Identifies unit of work that can be executed in parallel on a given Scheduler.


Constructor Summary
OperatorParallel(Func1<Observable<T>,Observable<R>> f, Scheduler scheduler)
           
 
Method Summary
 Subscriber<? super T> call(Subscriber<? super R> op)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorParallel

public OperatorParallel(Func1<Observable<T>,Observable<R>> f,
                        Scheduler scheduler)
Method Detail

call

public Subscriber<? super T> call(Subscriber<? super R> op)
Specified by:
call in interface Func1<Subscriber<? super R>,Subscriber<? super T>>