awaitExecuteBlocking

suspend fun <T> Vertx.awaitExecuteBlocking(blockingCode: () -> T): T(source)

Execute blockingCode that returns the a T instance with Vertx.executeBlocking and awaits its completion.

Compared to Vertx.executeBlocking's blockingCodeHandler argument, blockingCode returns the result when the operation completes instead of calling Promise.complete.