vertx / io.vertx.kotlin.mqtt / io.vertx.mqtt.MqttServer / closeAwait

closeAwait

suspend fun MqttServer.closeAwait(): Unit

Close the server supplying an handler that will be called when the server is actually closed (or has failed).

Parameters

completionHandler - the handler called on completion