interface WorkerExecutor : Measured
An executor for executing blocking code in Vert.x .
It provides the same executeBlocking operation than io.vertx.core.Context and io.vertx.core.Vertx but on a separate worker pool.
Author
Julien Viet
open fun close(): Unit
Close the executor. |
|
abstract fun <T : Any> executeBlocking(blockingCodeHandler: Handler<Future<T>>, ordered: Boolean, resultHandler: Handler<AsyncResult<T>>): Unit
Safely execute some blocking code. Executes the blocking code in the handler When the code is complete the handler A In the open fun <T : Any> executeBlocking(blockingCodeHandler: Handler<Future<T>>, resultHandler: Handler<AsyncResult<T>>): Unit
Like |