suspend fun <T> WorkerExecutor.executeBlockingAwait(blockingCodeHandler: Handler<Future<T>>, ordered: Boolean): T?
Safely execute some blocking code.
blockingCodeHandler
- handler representing the blocking code to run
ordered
- if true then if executeBlocking is called several times on the same context, the executions for that context will be executed serially, not in parallel. if false then they will be no ordering guarantees
resultHandler
- handler that will be called when the blocking code is complete
suspend fun <T> WorkerExecutor.executeBlockingAwait(blockingCodeHandler: Handler<Future<T>>): T?
Like io.vertx.core.WorkerExecutor called with ordered = true.