Skip to content

From vert.x Future to SmallRye Mutiny Uni/Multi #44670

Answered by jponge
Stwissel asked this question in Q&A
Discussion options

You must be logged in to vote

Coming from Vert.x the main difference of a Uni vs a Future is that a Uni needs to be subscribed to before the actual action is triggered, whereas you can't control when a Vert.x future starts. You will find lots of composition operations to transform values, compose asynchronous results, handle errors, etc.

You might want to start with https://smallrye.io/smallrye-mutiny/latest/tutorials/hello-mutiny/ and look over the documentation here.

You might also look at the samples in https://github.com/smallrye/smallrye-mutiny/tree/main/workshop-examples

Hope it helps!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jponge
Comment options

Answer selected by Stwissel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment