Skip to main content

shared_policy

Function shared_policy 

Source
fn shared_policy() -> Option<&'static Mutex<KeymapPolicy>>
Expand description

The keymap policy over that base, shared across calls: rebuilding it costs a keymap compile per typed batch, and its accumulated overlay assignments are device-independent, so repeat batches reuse their slots. Locked — callers run off-thread and Computer-Use may type concurrently with selkies.