Raxol.Core.Runtime.Plugins.LifecycleHelper (Raxol v0.3.0)

View Source

Helper functions for plugin lifecycle management.

Summary

Functions

Initializes plugins in the correct order with improved error handling.

Loads a plugin by ID or module with improved error handling and state persistence.

Unloads a plugin with improved cleanup and error handling.

Functions

initialize_plugins(plugins, metadata, config, states, load_order, command_table, opts)

Initializes plugins in the correct order with improved error handling.

load_plugin(plugin_id_or_module, config, plugins, metadata, plugin_states, load_order, command_table, plugin_config)

Loads a plugin by ID or module with improved error handling and state persistence.

reload_plugin_from_disk(plugin_id, plugin_module, plugin_path, plugin_state, command_table, metadata, plugin_manager, current_metadata)

Reloads a plugin from disk with improved state persistence and error handling.

unload_plugin(plugin_id, metadata, config, states, command_table, opts)

Unloads a plugin with improved cleanup and error handling.