Function initialize
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub async fn initialize(
config: PluginConfig,
additional_plugins_toml: Option<PathBuf>,
) -> Result<PluginHostActivation>
Initializes the process-wide static and dynamic plugin host.
The returned handle must remain alive while any plugin-provided callback can run. Closing or dropping it unregisters components before unloading dynamic runtimes. Workers are authenticated and validated before component initialization. Their Register RPC runs when the worker component activates, after earlier static components have installed their runtime registrations.