Mountain/ApplicationState/State/FeatureState/OutputChannels/
mod.rs

1//! # OutputChannelState Module (ApplicationState)
2//!
3//! ## RESPONSIBILITIES
4//! Manages output channel state including output metadata and content.
5//!
6//! ## ARCHITECTURAL ROLE
7//! OutputChannelState is part of the **FeatureState** module, representing
8//! output channel state organized by channel ID.
9//!
10//! ## KEY COMPONENTS
11//! - OutputChannelState: Main struct containing output channels map
12//!
13//! ## ERROR HANDLING
14//! Uses `Arc<Mutex<...>>` for thread-safe access with proper error handling.
15//!
16//! ## LOGGING
17//! State changes are logged at appropriate levels.
18//!
19//! ## PERFORMANCE CONSIDERATIONS
20//! - Lock mutexes briefly
21//! - Avoid nested locks
22//! - Use Arc for shared ownership
23//!
24//! ## TODO
25//! - [ ] Add output channel validation
26//! - [ ] Implement output channel events
27//! - [ ] Add output channel metrics
28
29pub mod OutputChannelState;