Question:
I am new to Mutiny but have familiarity with Project Reactor.I am looking for the counterpart to
Mono.fromCallable()
in Mutiny to create a Uni from a Callable or anonymous lambda?Answer:
You can create a Uni from a lambda using:java.util.concurrent.Callable
:If you have better answer, please add a comment about this, thank you!