Skip to content

Commit

Permalink
Merge pull request #22641 from quarkusio/fix/mutiny-deprecated-in-1.3.0
Browse files Browse the repository at this point in the history
Do not use deprecated APIs from the upcoming Mutiny 1.3.0 release
  • Loading branch information
gsmet authored Jan 5, 2022
2 parents 5aa9eec + 9a807ca commit ed4bc0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Uni<String> greeting() {

Multi<String> greetingAsMulti() {
return Multi.createFrom().items("h", "e", "l", "l", "o")
.groupItems().intoMultis().of(2)
.group().intoMultis().of(2)
.onItem().transformToUniAndConcatenate(g -> g.collect().in(StringBuffer::new, StringBuffer::append))
.emitOn(executor)
.onItem().transform(StringBuffer::toString);
Expand Down

0 comments on commit ed4bc0d

Please sign in to comment.