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

ElementAt request management enhanced #3045

Merged
merged 1 commit into from
Jul 14, 2015

Conversation

akarnokd
Copy link
Member

Based on #3014

The operator can request up to Long.MAX_VALUE because it will only ever return a single value. If there are fewer elements, the onCompleted() will be triggered anyway. If there are more elements, the unsubscribe() will stop the sequence at the index.

benjchristensen added a commit that referenced this pull request Jul 14, 2015
ElementAt request management enhanced
@benjchristensen benjchristensen merged commit 89782ee into ReactiveX:1.x Jul 14, 2015
@akarnokd akarnokd deleted the ElementAtImprovement branch July 14, 2015 17:03
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.

2 participants