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

sendAwait

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

Suspending version of method io.vertx.core.eventbus.EventBus.send

Parameters

address - the address to send it to

message - the message, may be null

Return

Message

NOTE: This function has been automatically generated from io.vertx.core.eventbus.EventBus using Vert.x codegen.

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

Suspending version of method io.vertx.core.eventbus.EventBus.send

Parameters

address - the address to send it to

message - the message, may be null

options - delivery options

Return

Message

NOTE: This function has been automatically generated from io.vertx.core.eventbus.EventBus using Vert.x codegen.