Package rx
Interface Observable.Transformer<T,R>
-
- Type Parameters:
T
- the input Observable's value typeR
- the output Observable's value type
- All Superinterfaces:
Func1<Observable<T>,Observable<R>>
,Function
- Enclosing class:
- Observable<T>
public static interface Observable.Transformer<T,R> extends Func1<Observable<T>,Observable<R>>
Function that receives the current Observable and should return another Observable, possibly with given element type, in exchange that will be subscribed to by the downstream operators and subscribers.This convenience interface has been introduced to work around the variance declaration problems of type arguments.