|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.operators.OperationFinally
public final class OperationFinally
Registers an action to be called when an Observable invokes onComplete or onError.
See also the MSDN Observable.Finally method
| Constructor Summary | |
|---|---|
OperationFinally()
|
|
| Method Summary | ||
|---|---|---|
static
|
finallyDo(Observable<? extends T> sequence,
Action0 action)
Call a given action when a sequence completes (with or without an exception). |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationFinally()
| Method Detail |
|---|
public static <T> Observable.OnSubscribeFunc<T> finallyDo(Observable<? extends T> sequence,
Action0 action)
sequence - An observable sequence of elementsaction - An action to be taken when the sequence is complete or throws an exception
Observer.onCompleted() has been called),
or after an exception is thrown (and Observer.onError(java.lang.Throwable) has been called),
the given action will be called.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||