vertx / io.vertx.kotlin.mqtt / io.vertx.mqtt.MqttServer / listenAwait

# listenAwait

`suspend fun MqttServer.listenAwait(port: Int, host: String): MqttServer`

Suspending version of method io.vertx.mqtt.MqttServer.listen

### Parameters

`port` - the port to listen on

`host` - the host to listen on

Return

MqttServer

NOTE: This function has been automatically generated from io.vertx.mqtt.MqttServer using Vert.x codegen.

`suspend fun MqttServer.listenAwait(port: Int): MqttServer`

Suspending version of method io.vertx.mqtt.MqttServer.listen

### Parameters

`port` - the port to listen on

Return

MqttServer

NOTE: This function has been automatically generated from io.vertx.mqtt.MqttServer using Vert.x codegen.

`suspend fun MqttServer.listenAwait(): MqttServer`

Suspending version of method io.vertx.mqtt.MqttServer.listen

Return

MqttServer

NOTE: This function has been automatically generated from io.vertx.mqtt.MqttServer using Vert.x codegen.