From 427c2606d8f62558e3949d2f44173175e96bed49 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 26 May 2026 21:52:19 +0300 Subject: fix: deliver agent status subscriptions from event hub --- src/api/event_hub.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/api/event_hub.rs') diff --git a/src/api/event_hub.rs b/src/api/event_hub.rs index b66a2157..42cf47a2 100644 --- a/src/api/event_hub.rs +++ b/src/api/event_hub.rs @@ -36,4 +36,11 @@ impl EventHub { .cloned() .collect() } + + pub fn current_sequence(&self) -> u64 { + let Ok(state) = self.inner.lock() else { + return 0; + }; + state.next_sequence + } } -- cgit v1.2.3