Raxol.Core.Runtime.Plugins.StateManager (Raxol v0.5.0)

View Source

Manages plugin state and state transitions.

Summary

Functions

Initializes the plugin state. Returns {:ok, state}.

Returns a new default plugin manager state struct.

Sets the state for a given plugin. Alias for update_plugin_state/3.

Functions

initialize(state)

Initializes the plugin state. Returns {:ok, state}.

new()

Returns a new default plugin manager state struct.

set_plugin_state(plugin_id, new_state, state_maps)

Sets the state for a given plugin. Alias for update_plugin_state/3.