Skip to content

Commit

Permalink
Add marble diagrams for Single.repeat operators (#6081)
Browse files Browse the repository at this point in the history
* Add marble diagrams for Single.repeat operators

* Use correct marble diagram URLs
  • Loading branch information
UMFsimke authored and akarnokd committed Jul 17, 2018
1 parent 53dd15f commit c8bcb3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/io/reactivex/Single.java
Original file line number Diff line number Diff line change
Expand Up @@ -3051,6 +3051,8 @@ public final Single<T> onTerminateDetach() {

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

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

0 comments on commit c8bcb3c

Please sign in to comment.