Skip to content

Commit c8bcb3c

Browse files
UMFsimkeakarnokd
authored andcommitted
Add marble diagrams for Single.repeat operators (#6081)
* Add marble diagrams for Single.repeat operators * Use correct marble diagram URLs
1 parent 53dd15f commit c8bcb3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/io/reactivex/Single.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3051,6 +3051,8 @@ public final Single<T> onTerminateDetach() {
30513051

30523052
/**
30533053
* Repeatedly re-subscribes to the current Single and emits each success value.
3054+
* <p>
3055+
* <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.repeat.png" alt="">
30543056
* <dl>
30553057
* <dt><b>Backpressure:</b></dt>
30563058
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.</dd>
@@ -3069,6 +3071,8 @@ public final Flowable<T> repeat() {
30693071

30703072
/**
30713073
* Re-subscribes to the current Single at most the given number of times and emits each success value.
3074+
* <p>
3075+
* <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.repeat.n.png" alt="">
30723076
* <dl>
30733077
* <dt><b>Backpressure:</b></dt>
30743078
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.</dd>
@@ -3090,6 +3094,8 @@ public final Flowable<T> repeat(long times) {
30903094
* Re-subscribes to the current Single if
30913095
* the Publisher returned by the handler function signals a value in response to a
30923096
* value signalled through the Flowable the handle receives.
3097+
* <p>
3098+
* <img width="640" height="1478" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.repeatWhen.png" alt="">
30933099
* <dl>
30943100
* <dt><b>Backpressure:</b></dt>
30953101
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.

0 commit comments

Comments
 (0)