Skip to main content

GLOBAL_PERSISTED

Static GLOBAL_PERSISTED 

Source
static GLOBAL_PERSISTED: OnceLock<Arc<Mutex<HashMap<String, Channel>>>>
Expand description

Process-wide persisted channel state, shared across ALL origins.

Using a single map ensures saves from different origins don’t clobber each other’s state.