Skip to content

Commit

Permalink
#5382 Corrected Single.delay documentation (#5409)
Browse files Browse the repository at this point in the history
* #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.
  • Loading branch information
mithunsasidharan authored and akarnokd committed Jun 12, 2017
1 parent 42a355a commit 52ee8ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/io/reactivex/Single.java
Original file line number Diff line number Diff line change
Expand Up @@ -1633,14 +1633,13 @@ public final Single<T> delay(long time, TimeUnit unit) {
}

/**
* Delays the emission of the success or error signal from the current Single by
* the specified amount.
* Delays the emission of the success signal from the current Single by the specified amount.
* <dl>
* <dt><b>Scheduler:</b></dt>
* <dd>you specify the {@link Scheduler} where the non-blocking wait and emission happens</dd>
* </dl>
*
* @param time the time amount to delay the signals
* @param time the time amount to delay the emission of the success signal
* @param unit the time unit
* @param scheduler the target scheduler to use fro the non-blocking wait and emission
* @return the new Single instance
Expand Down

0 comments on commit 52ee8ed

Please sign in to comment.