MQTTnet
MQTTnet copied to clipboard
Event when pending ApplicationMessage was published
Describe the feature request
I would like to have an event on managed client to be triggered, if a pending message was published.
Which project is your feature request related to?
- ManagedClient
Describe the solution you'd like
In my application, I want to display the count of pending application messages of unmanged client. I do not want to read Property PendingApplicationMessagesCount continously. I think it would be nicer to be informed by an event.
Please try event ApplicationMessageProcessedAsync. If the exception is null, the processing was successful and the message is properly published.