Skip to main content

Module install

Module install 

Source
Expand description

PL8.A/B — the crate-owned install(boot) entry point.

Wiring the loader into the editor is one line in the host’s Phase-B install list (lattice_plugin_loader::install(&mut boot)) and zero host internals — the mode-ownership acid test: no Editor:: method, no host Action variant. install stands the runtime up, captures the editor environment (runtime handle, event bus, the runtime-mutable picker registry, the provenance sink) from the generic SubsystemBoot seams, registers the PluginLoaderHandle service, and spawns on-disk discovery off the boot thread so no plugin cold-start delays boot.

Functions§

autoload_enabled
Whether boot-time auto-discovery is currently on. The env override is deliberately NOT consulted: this reports the latch, which is what a caller setting it wants to confirm, and what autoload_is_opt_in.rs pins.
disable_autoload
Suppress boot-time plugin auto-discovery for this process.
enable_autoload
Turn on boot-time plugin auto-discovery for this process.
flush_plugin_stores
Write out every plugin’s store before the process exits.
install