PluginScopeManager

class PluginScopeManager(koin: Koin)(source)

Manages Koin scopes for plugin isolation. Each plugin gets its own private scope that can be destroyed when the plugin is disabled.

Constructors

Link copied to clipboard
constructor(koin: Koin)

Functions

Link copied to clipboard
fun closeScope(pluginId: String)

Close and remove a plugin's scope.

Link copied to clipboard
fun createScope(pluginId: String, config: PluginConfig, modules: List<Module>): PluginPrivateScopeHandle

Create a new isolated Koin application and private scope for a plugin generation.

Link copied to clipboard