Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#5382 Corrected Single.delay documentation #5409

Merged
merged 2 commits into from
Jun 12, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the @param time line as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akarnokd : Done. Could you review. Thanks

* <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