Closed jmparra closed 5 years ago
I just added a new event (onMessageDelivered) that is present on the Paho.Client. Now it's possible to publish a message and be notified when the message is successfully delivery to the broker.
example of use:
this.mqtt_client.onMessageDelivered.on((message: Message) => { console.log("Message delivered: " + message.payload); });
Thanks for the PR! I'll release it in 1.1.3 shortly.
I just added a new event (onMessageDelivered) that is present on the Paho.Client. Now it's possible to publish a message and be notified when the message is successfully delivery to the broker.
example of use: