Skip to content

Commit 52ee8ed

Browse files
mithunsasidharanakarnokd
authored andcommitted
#5382 Corrected Single.delay documentation (#5409)
* #5382 Corrected Single.delay documentation Corrected Single.delay documentation that says that success or error signals will be delayed by the specified amount, but in fact errors are not delayed, only successes. * #5382 Corrected Single.delay documentation Corrected Single.delay documentation that says that success or error signals will be delayed by the specified amount, but in fact errors are not delayed, only successes.
1 parent 42a355a commit 52ee8ed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,14 +1633,13 @@ public final Single<T> delay(long time, TimeUnit unit) {
16331633
}
16341634

16351635
/**
1636-
* Delays the emission of the success or error signal from the current Single by
1637-
* the specified amount.
1636+
* Delays the emission of the success signal from the current Single by the specified amount.
16381637
* <dl>
16391638
* <dt><b>Scheduler:</b></dt>
16401639
* <dd>you specify the {@link Scheduler} where the non-blocking wait and emission happens</dd>
16411640
* </dl>
16421641
*
1643-
* @param time the time amount to delay the signals
1642+
* @param time the time amount to delay the emission of the success signal
16441643
* @param unit the time unit
16451644
* @param scheduler the target scheduler to use fro the non-blocking wait and emission
16461645
* @return the new Single instance

0 commit comments

Comments
 (0)