vertx / io.vertx.kotlin.ext.stomp / io.vertx.ext.stomp.StompServer / listenAwait

# listenAwait

`suspend fun StompServer.listenAwait(): StompServer`

Suspending version of method io.vertx.ext.stomp.StompServer.listen

Return

StompServer

NOTE: This function has been automatically generated from io.vertx.ext.stomp.StompServer using Vert.x codegen.

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

Suspending version of method io.vertx.ext.stomp.StompServer.listen

### Parameters

`port` - the port

Return

StompServer

NOTE: This function has been automatically generated from io.vertx.ext.stomp.StompServer using Vert.x codegen.

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

Suspending version of method io.vertx.ext.stomp.StompServer.listen

### Parameters

`port` - the port

`host` - the host / interface

Return

StompServer

NOTE: This function has been automatically generated from io.vertx.ext.stomp.StompServer using Vert.x codegen.