namespace ZB.MOM.WW.MxGateway.Server.Dashboard; /// /// Provides snapshots of the dashboard state for UI updates. /// public interface IDashboardSnapshotService { /// /// Gets the current dashboard snapshot. /// DashboardSnapshot GetSnapshot(); /// /// Watches for changes to the dashboard state as an async enumerable. /// /// Token to cancel the asynchronous operation. IAsyncEnumerable WatchSnapshotsAsync(CancellationToken cancellationToken); }