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

2.x: Add empty source clauses to javadocs of combineLatest operators … #5413

Merged
merged 1 commit into from
Jun 28, 2017

Conversation

Sroka
Copy link
Contributor

@Sroka Sroka commented Jun 14, 2017

…accepting unspecified number of sources. This commit resolves #5412

Copy link
Member

@akarnokd akarnokd left a comment

Choose a reason for hiding this comment

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

A couple of "the" are missing.

@@ -150,6 +150,9 @@ public static int bufferSize() {
* If any of the sources never produces an item but only terminates (normally or with an error), the
* resulting sequence terminates immediately (normally or with all the errors accumulated till that point).
* If that input source is also synchronous, other sources after it will not be subscribed to.
* <p>
* If provided array of source Publishers is empty, resulting sequence completes immediately without emitting
Copy link
Member

Choose a reason for hiding this comment

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

"If the provided array of source Publishers is empty, the resulting sequence completes immediately without emitting any items and without any calls to the combiner function."

@@ -191,6 +194,9 @@ public static int bufferSize() {
* If any of the sources never produces an item but only terminates (normally or with an error), the
* resulting sequence terminates immediately (normally or with all the errors accumulated till that point).
* If that input source is also synchronous, other sources after it will not be subscribed to.
* <p>
* If there are no source Publishers provided, resulting sequence completes immediately without emitting
Copy link
Member

Choose a reason for hiding this comment

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

"If there are no source Publishers provided, the resulting sequence completes immediately without emitting any items and without any calls to the combiner function."

@akarnokd
Copy link
Member

Are you going to update this PR based on the feedback?

@Sroka
Copy link
Contributor Author

Sroka commented Jun 23, 2017

Argh, totally forgot about it, sorry. I will update it

…accepting unspecified number of sources. This commit resolves ReactiveX#5412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

combineLatest(Iterable<Publisher<>>, Function<>) not emitting on empty iterable
2 participants