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
  • Loading branch information
jponge committed Apr 14, 2023
1 parent 3a7bef7 commit 3aa338b
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 3aa338b

Please sign in to comment.