Skip to content

Commit

Permalink
Update documentation/docs/guides/branching.md
Browse files Browse the repository at this point in the history
Co-authored-by: Clement Escoffier <[email protected]>
  • Loading branch information
jponge and cescoffier authored Sep 17, 2023
1 parent 4aec4ad commit f6d96ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/guides/branching.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags:

# How to do branching in a reactive pipeline?

Mutiny and similar reactive programming libraries do not have _branching_ operators that would be similar to `if / else` and `switch / case` statements in Java.
Mutiny and similar reactive programming libraries do not have _branching_ operators similar to `if / else` and `switch/case` statements in Java.

This does not mean that we can't express _branching_ in a reactive pipeline, and the most classic way is to use a transformation to a `Uni` (also called `flatMap` in functional programming).

Expand Down

0 comments on commit f6d96ed

Please sign in to comment.