2.x: add flattenAs{Observable,Flowable} to Single and Maybe#4604
Merged
akarnokd merged 1 commit intoReactiveX:2.xfrom Sep 29, 2016
Merged
2.x: add flattenAs{Observable,Flowable} to Single and Maybe#4604akarnokd merged 1 commit intoReactiveX:2.xfrom
akarnokd merged 1 commit intoReactiveX:2.xfrom
Conversation
Current coverage is 77.79% (diff: 49.03%)@@ 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
|
Member
Author
|
|
7ab74e0 to
6ed0062
Compare
6ed0062 to
9e8bc2a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds
Single.flattenAsObservable,Single.flattenAsFlowable,Maybe.flattenAsObservableandMaybe.flattenAsFlowableto map a success value into anIterablesequence and stream it asFlowableorObservable. It is more efficient thanSingle.toFlowable().flatMapIterable().