ZOOM_MIRROR_GEN

Static ZOOM_MIRROR_GEN 

Source
static ZOOM_MIRROR_GEN: OnceLock<Mutex<HashMap<String, u64>>>
Expand description

Dispatch a command into the srv reducer and return the emitted events. Locks the reducer mutex briefly; the lock is released before any I/O (caller is responsible for publishing the events to the broadcast bus). Per-agent_id debounce generation for zoom mirroring. Each term:zoom change bumps the agent’s generation; the spawned trailing-write task only commits if its captured generation is still current 300ms later, so a Ctrl+Wheel burst collapses into a single durable write (+ one global def-registry re-mirror). See SPEC_AGENT_ZOOM_PERSISTENCE §4.3.