Package-level declarations
Functions
Link copied to clipboard
Execute blockingCode that returns the a T instance with Vertx.executeBlocking and awaits its completion.
Link copied to clipboard
Like awaitExecuteBlocking but blockingCode is a suspend function.
Link copied to clipboard
fun <T> CoroutineScope.coroutineToFuture(context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> T): Future<T>
Launch a coroutine and converts it into a Future that completes when the suspended function returns and fails if it throws.
Link copied to clipboard
Execute the block code and close the Vertx instance like kotlin.use on an AutoCloseable.