File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
rxjava-core/src/main/java/rx Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2426,6 +2426,17 @@ public Observable<T> filter(Func1<T, Boolean> predicate) {
2426
2426
return filter (this , predicate );
2427
2427
}
2428
2428
2429
+ /**
2430
+ * Registers an action to be called when this observable calls
2431
+ * <code>onComplete</code> or <code>onError</code>.
2432
+ * @param action an action to be called when this observable completes or errors.
2433
+ * @return an Observable that emits the same objects as this observable, then calls the action.
2434
+ * @see <a href="http://msdn.microsoft.com/en-us/library/hh212133(v=vs.103).aspx">MSDN: Observable.Finally Method</a>
2435
+ */
2436
+ public Observable <T > finally0 (Action0 action ) {
2437
+ return _create (OperationFinally .finally0 (this , action ));
2438
+ }
2439
+
2429
2440
/**
2430
2441
* Filters an Observable by discarding any of its emissions that do not meet some test.
2431
2442
* <p>
You can’t perform that action at this time.
0 commit comments