kotlin-homie / org.homieiot.mqtt / HomieMqttClient / disconnect

disconnect

fun disconnect(): Unit

Disconnect MQTT Client

This should be called during shutdown. Client may not be reconnected. This function will wait up to 5 seconds to send any pending messages.