Skip to main content

EditorStateHandle

Type Alias EditorStateHandle 

Source
pub type EditorStateHandle = Arc<Mutex<EditorStateCache>>;
Expand description

Thread-safe handle to the read cache, shared between the updater task (writer) and agent tasks (readers). A plain Mutex — updates are O(1) in-place (no per-event clone) and reads are rare (agent-initiated), so there’s no contention worth a wait-free structure.

Aliased Type§

pub struct EditorStateHandle { /* private fields */ }