vertx / io.vertx.reactivex.mqtt / MqttClient / publishCompletionHandler

publishCompletionHandler

open fun publishCompletionHandler(publishCompletionHandler: Handler<Int>): MqttClient

Sets handler which will be called each time publish is completed

Parameters

publishCompletionHandler - handler called with the packetId

Return
current MQTT client instance