Skip to main content

Module registry

Module registry 

Source
Expand description

PluginRegistry — load, unload, and list HOMECORE plugins.

The registry is runtime-agnostic: it accepts any type that implements PluginRuntime and delegates load/unload to it. This allows swapping the InProcessRuntime (P1) for a WasmtimeRuntime (P2) without changing registry code.

Structs§

PluginRegistry
Holds all loaded plugins keyed by PluginId.