Vert.x 4.5 has introduced the feature of virtual threads. In the official example code, the Future.await method is used to wait for synchronous results. I would like to know if I can avoid using this method and instead call other third-party blocking APIs, such as the query method provided by Spring’s JdbcTemplate.
I hope to write code synchronously within a Verticle supported by virtual threads.
2