Raxol.Plugins.Manager.State (Raxol v0.3.0)
View SourceHandles plugin state management and updates. Provides functions for updating plugin state and managing plugin lifecycle states.
Summary
Functions
Disables a plugin by name.
Delegates to Raxol.Plugins.Lifecycle.disable_plugin/2
.
Enables a plugin by name.
Delegates to Raxol.Plugins.Lifecycle.enable_plugin/2
.
Loads a plugin module and initializes it with the given configuration.
Delegates to Raxol.Plugins.Lifecycle.load_plugin/3
.
Loads multiple plugins in the correct dependency order.
Delegates to Raxol.Plugins.Lifecycle.load_plugins/2
.
Unloads a plugin by name.
Delegates to Raxol.Plugins.Lifecycle.unload_plugin/2
.
Updates the state of a specific plugin within the manager.
The update_fun
receives the current plugin state and should return the new state.
Functions
Disables a plugin by name.
Delegates to Raxol.Plugins.Lifecycle.disable_plugin/2
.
Enables a plugin by name.
Delegates to Raxol.Plugins.Lifecycle.enable_plugin/2
.
Loads a plugin module and initializes it with the given configuration.
Delegates to Raxol.Plugins.Lifecycle.load_plugin/3
.
Loads multiple plugins in the correct dependency order.
Delegates to Raxol.Plugins.Lifecycle.load_plugins/2
.
Unloads a plugin by name.
Delegates to Raxol.Plugins.Lifecycle.unload_plugin/2
.
Updates the state of a specific plugin within the manager.
The update_fun
receives the current plugin state and should return the new state.