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

# sendAwait

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

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

### Parameters

`address` - the address to send it to

`message` - the message, may be null

Return
a reference to this, so the API can be used fluently *

`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.

### Parameters

`address` - the address to send it to

`message` - the message, may be null

`options` - delivery options

Return
a reference to this, so the API can be used fluently *