From 3db6a67b7f90314eb052c3c01950c60c1d73d54d Mon Sep 17 00:00:00 2001 From: effedici <26420747+dicaeffe@users.noreply.github.com> Date: Tue, 19 Sep 2023 18:20:10 +0200 Subject: [PATCH] Update mutiny-primer.adoc Correction of type about transformToUni --- docs/src/main/asciidoc/mutiny-primer.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/mutiny-primer.adoc b/docs/src/main/asciidoc/mutiny-primer.adoc index 6e76490f4a123..46385eb8d937c 100644 --- a/docs/src/main/asciidoc/mutiny-primer.adoc +++ b/docs/src/main/asciidoc/mutiny-primer.adoc @@ -209,7 +209,7 @@ Unlike `transform`, the function passed to `transformToUni` returns a Uni. ---- Uni uni1 = … uni1 -.onItem().transformtoUni(item -> anotherAsynchronousAction(item)); +.onItem().transformToUni(item -> anotherAsynchronousAction(item)); ---- More details about asynchronous transformation can be found in the https://smallrye.io/smallrye-mutiny/latest/tutorials/transforming-items-asynchronously/[Mutiny documentation].