Skip to content

Commit

Permalink
Export SubscriptionActivity so it can be used when driving the sessio…
Browse files Browse the repository at this point in the history
…n event-loop
  • Loading branch information
svanharmelen committed Oct 29, 2024
1 parent cf2d1bd commit 4d38d0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub use config::{ClientConfig, ClientEndpoint, ClientUserToken, ANONYMOUS_USER_T
pub use session::{
Client, DataChangeCallback, EventCallback, MonitoredItem, OnSubscriptionNotification, Session,
SessionActivity, SessionConnectMode, SessionEventLoop, SessionPollResult, Subscription,
SubscriptionCallbacks,
SubscriptionActivity, SubscriptionCallbacks,
};
pub use transport::AsyncSecureChannel;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/client/session/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub use connect::SessionConnectMode;
pub use event_loop::{SessionActivity, SessionEventLoop, SessionPollResult};
pub use services::subscriptions::{
DataChangeCallback, EventCallback, MonitoredItem, OnSubscriptionNotification, Subscription,
SubscriptionCallbacks,
SubscriptionActivity, SubscriptionCallbacks,
};
pub use session::Session;

Expand Down
2 changes: 2 additions & 0 deletions lib/src/client/session/services/subscriptions/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
pub mod event_loop;
pub use event_loop::SubscriptionActivity;

mod service;
pub mod state;

Expand Down

0 comments on commit 4d38d0a

Please sign in to comment.