Package rx.internal.operators
Class OperatorDoOnSubscribe<T>
java.lang.Object
rx.internal.operators.OperatorDoOnSubscribe<T>
- Type Parameters:
T- The type of the elements in theObservablethat this operator modifies
- All Implemented Interfaces:
Func1<Subscriber<? super T>,,Subscriber<? super T>> Function,Observable.Operator<T,T>
This operator modifies an
Observable so a given action is invoked when the Observable is subscribed.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOperatorDoOnSubscribe(Action0 subscribe) Constructs an instance of the operator with the callback that gets invoked when the modified Observable is subscribed -
Method Summary
-
Field Details
-
subscribe
-
-
Constructor Details
-
OperatorDoOnSubscribe
Constructs an instance of the operator with the callback that gets invoked when the modified Observable is subscribed- Parameters:
subscribe- the action that gets invoked when the modifiedObservableis subscribed
-
-
Method Details
-
call
- Specified by:
callin interfaceFunc1<Subscriber<? super T>,Subscriber<? super T>>
-