From 52ee8ed9e95538238070f1ca4105ae094ea3b5b0 Mon Sep 17 00:00:00 2001 From: Mithun Sasidharan Date: Mon, 12 Jun 2017 16:09:40 +0530 Subject: [PATCH] #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. --- src/main/java/io/reactivex/Single.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/reactivex/Single.java b/src/main/java/io/reactivex/Single.java index c68a910c0a..8b6e665e9b 100644 --- a/src/main/java/io/reactivex/Single.java +++ b/src/main/java/io/reactivex/Single.java @@ -1633,14 +1633,13 @@ public final Single 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. *
*
Scheduler:
*
you specify the {@link Scheduler} where the non-blocking wait and emission happens
*
* - * @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