Skip to content

Commit

Permalink
Remove reference Uni::then in Mutiny primer
Browse files Browse the repository at this point in the history
This method was removed many releases back in favor of Uni::chain.

Fixes quarkusio#32635

(cherry picked from commit 3aa338b)
  • Loading branch information
jponge authored and gsmet committed Apr 18, 2023
1 parent d8ab74d commit 190016e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/src/main/asciidoc/mutiny-primer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,6 @@ Fortunately, Mutiny provides a set of shortcut to make your code more concise:
|`uni.chain(x -> uni2)`
|`uni.onItem().transformToUni(x -> uni2)`

|`uni.then(() -> uni2)`
|`uni.onItem().transformToUni(ignored -> uni2)`

|`uni.invoke(x -> System.out.println(x))`
|`uni.onItem().invoke(x -> System.out.println(x))`

Expand Down

0 comments on commit 190016e

Please sign in to comment.