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 Maybe.flatMapSingleElement returning Maybe #4858

Merged
merged 1 commit into from
Nov 18, 2016

Conversation

akarnokd
Copy link
Member

This PR adds the Maybe.flatMapSingleElement() operator that returns a Maybe and completes if the source completes unlike flatMapSingle where the returned Single signals NoSuchElementException.

Related #4857

@codecov-io
Copy link

codecov-io commented Nov 16, 2016

Current coverage is 95.78% (diff: 100%)

Merging #4858 into 2.x will decrease coverage by 0.06%

@@                2.x      #4858   diff @@
==========================================
  Files           580        581     +1   
  Lines         37174      37214    +40   
  Methods           0          0          
  Messages          0          0          
  Branches       5600       5601     +1   
==========================================
+ Hits          35632      35646    +14   
- Misses          639        649    +10   
- Partials        903        919    +16   

Powered by Codecov. Last update 557aca3...a94a307

@akarnokd akarnokd merged commit 37bde8c into ReactiveX:2.x Nov 18, 2016
@akarnokd akarnokd deleted the FlatMapSingleElement branch November 18, 2016 07:57
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.

3 participants