vertx / io.vertx.kotlin.core / io.vertx.core.WorkerExecutor

Extensions for io.vertx.core.WorkerExecutor

executeBlockingAwait

suspend fun <T> WorkerExecutor.executeBlockingAwait(blockingCodeHandler: Handler<Future<T>>, ordered: Boolean): T?

Safely execute some blocking code.

suspend fun <T> WorkerExecutor.executeBlockingAwait(blockingCodeHandler: Handler<Future<T>>): T?

Like io.vertx.core.WorkerExecutor called with ordered = true.