PluginHostX extension

on

Methods

hasPlugin(Plugin plugin) bool

Available on DI, provided by the PluginHostX extension

Whether plugin is currently installed in this scope.
installPlugin(Plugin plugin) Resolvable<DI>

Available on DI, provided by the PluginHostX extension

Installs plugin into a fresh child scope of this container keyed by plugin.id. Returns the child DI holding the plugin's registrations.
uninstallPlugin(Plugin plugin) Resolvable<Unit>

Available on DI, provided by the PluginHostX extension

Uninstalls plugin: invokes Plugin.uninstall, tears down every dependency in its child scope (cascading ServiceMixin.dispose() via the standard unregister hook), then drops the child scope itself.