Skip to content

Commit 747f97e

Browse files
committed
customize diagram/javadocs for doOnTerminate()
1 parent 3a1c5f5 commit 747f97e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rxjava-core/src/main/java/rx/Observable.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4389,15 +4389,16 @@ public final void onNext(T args) {
43894389
}
43904390

43914391
/**
4392-
* Modifies an Observable so that it invokes an action when it calls {@code onCompleted} or {@code onError} <p>
4393-
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/doOnCompleted.png">
4392+
* Modifies an Observable so that it invokes an action when it calls {@code onCompleted} or {@code onError}.
4393+
* <p>
4394+
* <img width="640" src="https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/doOnTerminate.png">
43944395
* <p>
43954396
* This differs from {@code finallyDo} in that this happens BEFORE onCompleted/onError are emitted.
43964397
*
43974398
* @param onTerminate
43984399
* the action to invoke when the source Observable calls {@code onCompleted} or {@code onError}
43994400
* @return the source Observable with the side-effecting behavior applied
4400-
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#wiki-dooncompleted">RxJava Wiki: doOnCompleted()</a>
4401+
* @see <a href="https://github.com/Netflix/RxJava/wiki/Observable-Utility-Operators#wiki-doonterminate">RxJava Wiki: doOnTerminate()</a>
44014402
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229804.aspx">MSDN: Observable.Do</a>
44024403
*/
44034404
public final Observable<T> doOnTerminate(final Action0 onTerminate) {

0 commit comments

Comments
 (0)