vertx / io.vertx.rxjava.mqtt / MqttServer / close

# close

`open fun close(): Unit`

Close the server.

The close happens asynchronously and the server may not be closed until some time after the call has returned.

`open fun close(completionHandler: Handler<AsyncResult<Void>>): 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