From fbba23e3dfa99e195ceda68cd7fef7bfc41fccc6 Mon Sep 17 00:00:00 2001 From: VeskoI Date: Tue, 1 May 2018 10:43:29 +0100 Subject: [PATCH] Add marble diagrams to a few Single.doOnX methods. (#5987) * Add marble diagrams to a few Single.doOnX methods. * Use correct marble diagram urls for couple of Single.doOnXX methods --- src/main/java/io/reactivex/Single.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/java/io/reactivex/Single.java b/src/main/java/io/reactivex/Single.java index a8c57ca7db..6ecdb5409c 100644 --- a/src/main/java/io/reactivex/Single.java +++ b/src/main/java/io/reactivex/Single.java @@ -2244,6 +2244,9 @@ public final Single doAfterTerminate(Action onAfterTerminate) { * is executed once per subscription. *

Note that the {@code onFinally} action is shared between subscriptions and as such * should be thread-safe. + *

+ * + *

*
*
Scheduler:
*
{@code doFinally} does not operate by default on a particular {@link Scheduler}.
@@ -2263,6 +2266,9 @@ public final Single doFinally(Action onFinally) { /** * Calls the shared consumer with the Disposable sent through the onSubscribe for each * SingleObserver that subscribes to the current Single. + *

+ * + *

*
*
Scheduler:
*
{@code doOnSubscribe} does not operate by default on a particular {@link Scheduler}.
@@ -2281,6 +2287,9 @@ public final Single doOnSubscribe(final Consumer onSubscr /** * Calls the shared consumer with the success value sent via onSuccess for each * SingleObserver that subscribes to the current Single. + *

+ * + *

*
*
Scheduler:
*
{@code doOnSuccess} does not operate by default on a particular {@link Scheduler}.
@@ -2317,6 +2326,9 @@ public final Single doOnEvent(final BiConsumer /** * Calls the shared consumer with the error sent via onError for each * SingleObserver that subscribes to the current Single. + *

+ * + *

*
*
Scheduler:
*
{@code doOnError} does not operate by default on a particular {@link Scheduler}.
@@ -2335,6 +2347,9 @@ public final Single doOnError(final Consumer onError) { /** * Calls the shared {@code Action} if a SingleObserver subscribed to the current Single * disposes the common Disposable it received via onSubscribe. + *

+ * + *

*
*
Scheduler:
*
{@code doOnDispose} does not operate by default on a particular {@link Scheduler}.