suspend fun NetServer.closeAwait(): Unit
Like io.vertx.core.net.NetServer but supplying a handler that will be notified when close is complete. |
|
suspend fun NetServer.listenAwait(): NetServer suspend fun NetServer.listenAwait(port: Int, host: String): NetServer suspend fun NetServer.listenAwait(port: Int): NetServer suspend fun NetServer.listenAwait(localAddress: SocketAddress): NetServer
Like io.vertx.core.net.NetServer but providing a handler that will be notified when the server is listening, or fails. |