Skip to main content

PickerRegistryHandle

Type Alias PickerRegistryHandle 

Source
pub type PickerRegistryHandle = Arc<ArcSwap<PickerRegistry>>;
Expand description

The runtime-mutable registry handle the editor holds and shares as a service. ArcSwap gives wait-free reads on the picker-open path and copy-on-write RCU writes for runtime plugin-source registration (:plugin-load / boot-discovery): clone the current registry, register_generator / unregister, then store the new snapshot. The plugin loader (lattice-plugin-loader) reaches this via service::<PickerRegistryHandle>() and RCU-registers each loaded picker plugin’s WasmPickerSource.

Aliased Type§

pub struct PickerRegistryHandle { /* private fields */ }