disconnect

open fun disconnect()

Disconnect from the current Mqtt service connection

Throws

org.eclipse.paho.client.mqttv3.MqttException

a MqttException if something unexpected happens