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