pub fn get_global_state() -> Option<Arc<AppState>>
Retrieves the global application state.
Option<Arc<AppState>>