vertx / io.vertx.kotlin.core.eventbus / io.vertx.core.eventbus.EventBus

Extensions for io.vertx.core.eventbus.EventBus

sendAwait

suspend fun <T> EventBus.sendAwait(address: String, message: Any): Message<T>
suspend fun <T> EventBus.sendAwait(address: String, message: Any, options: DeliveryOptions): Message<T>

Like io.vertx.core.eventbus.EventBus but specifying a replyHandler that will be called if the recipient subsequently replies to the message.