2.x: add resilient versions of parallel map(), filter() & doOnNext()#5202
2.x: add resilient versions of parallel map(), filter() & doOnNext()#5202akarnokd merged 1 commit intoReactiveX:2.xfrom
Conversation
3ec4fd3 to
dc08894
Compare
Codecov Report
@@ Coverage Diff @@
## 2.x #5202 +/- ##
===========================================
+ Coverage 95.94% 96.1% +0.15%
- Complexity 5677 5709 +32
===========================================
Files 621 625 +4
Lines 40611 40991 +380
Branches 5632 5675 +43
===========================================
+ Hits 38963 39393 +430
+ Misses 666 627 -39
+ Partials 982 971 -11
Continue to review full report at Codecov.
|
|
Sorry if this is not the correct place for this question, however it's relevant to the above feature. built-ins: some customizable built-ins: user defined: The return values could be Or perhaps this is already do able using existing api? |
|
Please always check the available operators first before asking for a feature: http://reactivex.io/RxJava/2.x/javadoc/io/reactivex/parallel/ParallelFlowable.html#map-io.reactivex.functions.Function-io.reactivex.functions.BiFunction- The enums are just convenience implementations of the BiFunction variants of the operators. |
This PR adds 2 new overloads to
ParallelFlowableoperatorsmap,filteranddoOnNextto enable per item error handling in case the main function fails with some exception.The new
ParallelFailureHandlinghas some default enumeration values to handle the common cases. In addition, theBiFunctionoverload allows bounded retries and/or conditional handling of failures.Related: #5128.