vertx / io.vertx.kotlin.core.eventbus / io.vertx.core.eventbus.Message

Extensions for io.vertx.core.eventbus.Message

replyAwait

suspend fun <R, T> Message<T>.replyAwait(message: Any): Message<R>

The same as reply(R message) but you can specify handler for the reply - i.e. to receive the reply to the reply.

suspend fun <R, T> Message<T>.replyAwait(message: Any, options: DeliveryOptions): Message<R>

The same as reply(R message, DeliveryOptions) but you can specify handler for the reply - i.e. to receive the reply to the reply.