abstract class CoroutineVerticle : Verticle
A Verticle which run its start and stop methods in coroutine. You should subclass this class instead of AbstractVerticle to create any verticles that use vertx-kotlin-coroutine. |
|
class ReceiveChannelHandler<T> : ReceiveChannel<T>, Handler<T>
An adapter that converts a stream of events from the Handler into a ReceiveChannel which allows the events to be received synchronously. |
suspend fun <T> awaitBlocking(block: () -> T): T
Run an asynchronous block on a worker threads and awaits the result. |
|
suspend fun <T> awaitEvent(block: (h: Handler<T>) -> Unit): T
Run an asynchronous block and awaits the completion. |
|
suspend fun <T> awaitResult(block: (h: Handler<AsyncResult<T>>) -> Unit): T
Run an asynchronous block and awaits the result. |