vertx / io.vertx.reactivex.mqtt / MqttEndpoint / publishCompletionHandler

# publishCompletionHandler

`open fun publishCompletionHandler(handler: Handler<Int>): MqttEndpoint`

Set the pubcomp handler on the MQTT endpoint. This handler is called when a PUBCOMP message is received by the remote MQTT client

### Parameters

`handler` - the handler

Return
a reference to this, so the API can be used fluently