T - The type of the elements in the
Observable that this operator modifies
public class OperatorDoOnSubscribe<T> extends Objectimplements Observable .Operator <T ,T>
Observable so a given action is invoked when the
Observable is subscribed.
| Constructor and Description |
|---|
OperatorDoOnSubscribe(Action0
Constructs an instance of the operator with the callback that gets invoked when the modified Observable is subscribed
|
public OperatorDoOnSubscribe(Action0subscribe)
subscribe - the action that gets invoked when the modified
Observable is subscribed
public Subscriber<? super T> call(Subscriber <? super T> child)