vertx / io.vertx.kotlin.core / io.vertx.core.Context / executeBlockingAwait

# executeBlockingAwait

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

Suspending version of method io.vertx.core.Context.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.Context using Vert.x codegen.

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

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

### Parameters

`blockingCodeHandler` - handler representing the blocking code to run

Return

T?

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