forked from reactor/reactor-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare work on 3.2.0, integrate error mode (for MILESTONE 1) (reacto…
…r#1021) See reactor#629 and reactor#840 This commit adds an error strategy concept to some of the operators that let `Flux` and `Mono` recover from an error mid-stream: the `continue` strategy. Such errors are dropped into a special hook, and the sequence can continue with the next value from the upstream. Operators that support this mode have a special tag in their javadoc. These include `map`, `filter`, `flatMap`, `handle`, `doOnNext`. The error mode is activated using `Context`, so it follows the same propagation semantics. The API is on `Flux`: - `errorStrategyContinue(...)` will activate the continue strategy for that particular `Flux`, upstream of it. - `errorStrategyStop()` let you go back to the default RS behavior, eg. in case you don't want the continue strategy to apply within a `flatMap`.
- Loading branch information
1 parent
9da9e50
commit 3206bae
Showing
26 changed files
with
3,505 additions
and
198 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.