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

# executeBlockingAwait

`suspend fun <T> WorkerExecutor.executeBlockingAwait(blockingCodeHandler: (Promise<T>) -> Unit, ordered: Boolean): T?`

Suspending version of method io.vertx.core.WorkerExecutor.executeBlocking

### Parameters

`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

Return

T?

NOTE: This function has been automatically generated from io.vertx.core.WorkerExecutor using Vert.x codegen.

`suspend fun <T> WorkerExecutor.executeBlockingAwait(blockingCodeHandler: (Promise<T>) -> Unit): T?`

Suspending version of method io.vertx.core.WorkerExecutor.executeBlocking

### Parameters

`blockingCodeHandler` -

Return

T?

NOTE: This function has been automatically generated from io.vertx.core.WorkerExecutor using Vert.x codegen.