I tried to write tests with Vert.x 3 Web-Client. It is
callback hell. You can read this
post.
Now Vert.x 4 has been released. And it contains
methods that return Future
.
Future
can be converted to
CompletableFuture
. So I can block thread
with method get()
. It is what I need for
my tests.