Skip to main content

configured_plugin_channels

Function configured_plugin_channels 

pub async fn configured_plugin_channels(
    config: Arc<Config>,
    live_config: Option<Arc<RwLock<Config>>>,
) -> Vec<Arc<dyn Channel>>
Expand description

Construct every admitted channel plugin from the package the host verified.

The returned channels carry their canonical alias in their host-issued PluginChannelEndpoint, so the caller can register them under the ordinary plugin.<alias> composite key without re-deriving identity from config.

A package that fails to construct is logged and skipped: one broken plugin must not stop the daemon from starting its remaining channels.