Skip to content

Commit fd76594

Browse files
UMFsimkeakarnokd
authored andcommitted
Add marble diagrams to the Single.delay method (#6076)
* Add marble diagrams to the Single.delay method * Update marbles for Single.delay with error events * Use correct marble diagram URLs for Single.delay methods
1 parent e51cf16 commit fd76594

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -1980,6 +1980,8 @@ public final Flowable<T> concatWith(SingleSource<? extends T> other) {
19801980
/**
19811981
* Delays the emission of the success signal from the current Single by the specified amount.
19821982
* An error signal will not be delayed.
1983+
* <p>
1984+
* <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.delay.png" alt="">
19831985
* <dl>
19841986
* <dt><b>Scheduler:</b></dt>
19851987
* <dd>{@code delay} operates by default on the {@code computation} {@link Scheduler}.</dd>
@@ -1998,6 +2000,8 @@ public final Single<T> delay(long time, TimeUnit unit) {
19982000

19992001
/**
20002002
* Delays the emission of the success or error signal from the current Single by the specified amount.
2003+
* <p>
2004+
* <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.delay.e.png" alt="">
20012005
* <dl>
20022006
* <dt><b>Scheduler:</b></dt>
20032007
* <dd>{@code delay} operates by default on the {@code computation} {@link Scheduler}.</dd>
@@ -2019,6 +2023,8 @@ public final Single<T> delay(long time, TimeUnit unit, boolean delayError) {
20192023
/**
20202024
* Delays the emission of the success signal from the current Single by the specified amount.
20212025
* An error signal will not be delayed.
2026+
* <p>
2027+
* <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.delay.s.png" alt="">
20222028
* <dl>
20232029
* <dt><b>Scheduler:</b></dt>
20242030
* <dd>you specify the {@link Scheduler} where the non-blocking wait and emission happens</dd>
@@ -2041,6 +2047,8 @@ public final Single<T> delay(final long time, final TimeUnit unit, final Schedul
20412047

20422048
/**
20432049
* Delays the emission of the success or error signal from the current Single by the specified amount.
2050+
* <p>
2051+
* <img width="640" height="457" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.delay.se.png" alt="">
20442052
* <dl>
20452053
* <dt><b>Scheduler:</b></dt>
20462054
* <dd>you specify the {@link Scheduler} where the non-blocking wait and emission happens</dd>

0 commit comments

Comments
 (0)