mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-21 04:03:05 +08:00
1862 Add subscribe and unsubscribe results event for Managed Mqtt Client. (#1894)
* See the issue #1862 Adding an event when ManagedMqttClient actually subscribe/unsubscribe to topics. This event has to be used in parallel with connected event to know the exact state. * Rename SubscriptionsResultAsync to SubscriptionsChangedAsync. * Rename internal field for event * Update ReleaseNotes.md --------- Co-authored-by: Pierre Dufrene <pierre.dufrene@se.com> Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com>
This commit is contained in:
co-authored by
Pierre Dufrene
Christian
parent
1245d8299a
commit
aabf180b23
@@ -25,6 +25,8 @@ namespace MQTTnet.Extensions.ManagedClient
|
||||
|
||||
event Func<ManagedProcessFailedEventArgs, Task> SynchronizingSubscriptionsFailedAsync;
|
||||
|
||||
event Func<SubscriptionsChangedEventArgs, Task> SubscriptionsChangedAsync;
|
||||
|
||||
IMqttClient InternalClient { get; }
|
||||
|
||||
bool IsConnected { get; }
|
||||
|
||||
Reference in New Issue
Block a user