Skip to content

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

Merged
akarnokd merged 1 commit intoReactiveX:2.xfrom
Sroka:2.x
Jun 28, 2017
Merged

2.x: Add empty source clauses to javadocs of combineLatest operators …#5413
akarnokd merged 1 commit intoReactiveX:2.xfrom
Sroka:2.x

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.

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

* 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