Skip to content

2.x: add flattenAs{Observable,Flowable} to Single and Maybe#4604

Merged
akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd:SoloFlatMapIterable
Sep 29, 2016
Merged

2.x: add flattenAs{Observable,Flowable} to Single and Maybe#4604
akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd:SoloFlatMapIterable

Conversation

@akarnokd
Copy link
Member

@akarnokd akarnokd commented Sep 25, 2016

This PR adds Single.flattenAsObservable, Single.flattenAsFlowable, Maybe.flattenAsObservable and Maybe.flattenAsFlowable to map a success value into an Iterable sequence and stream it as Flowable or Observable. It is more efficient than Single.toFlowable().flatMapIterable().

@akarnokd akarnokd added this to the 2.0 RC4 milestone Sep 25, 2016
@codecov-io
Copy link

codecov-io commented Sep 25, 2016

Current coverage is 77.79% (diff: 49.03%)

Merging #4604 into 2.x will decrease coverage by 0.30%

@@                2.x      #4604   diff @@
==========================================
  Files           557        561     +4   
  Lines         36284      36700   +416   
  Methods           0          0          
  Messages          0          0          
  Branches       5566       5636    +70   
==========================================
+ Hits          28338      28551   +213   
- Misses         5931       6106   +175   
- Partials       2015       2043    +28   

Powered by Codecov. Last update c3a1d91...9e8bc2a

@akarnokd
Copy link
Member Author

flattenAsFlowable, flattenAsObservable?

@akarnokd akarnokd force-pushed the SoloFlatMapIterable branch 2 times, most recently from 7ab74e0 to 6ed0062 Compare September 28, 2016 08:23
@akarnokd akarnokd changed the title 2.x: add Single|Maybe flatMapIterable(), clear whitespaces, fix doc 2.x: add flattenAs{Observable,Flowable} to Single and Maybe Sep 28, 2016
@akarnokd akarnokd merged commit d6a8461 into ReactiveX:2.x Sep 29, 2016
@akarnokd akarnokd deleted the SoloFlatMapIterable branch September 29, 2016 07:30
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