Handles initialization of plugins, including state setup and command registration.
Summary
Functions
Handles the initialization of a specific plugin.
Initializes a single plugin.
Initializes all plugins in the given load order.
Functions
Handles the initialization of a specific plugin.
@spec initialize_plugin( atom() | String.t(), {:ok, {map(), map(), map()}}, map(), map() ) :: {:cont, {:ok, {map(), map(), map()}}} | {:halt, {:error, term()}}
Initializes a single plugin.
@spec initialize_plugins( map() | list(), map(), map() | nil, map(), list(), map() | atom() | reference(), keyword() | map() | nil ) :: {:ok, {map(), map(), map()}} | {:error, term()}
Initializes all plugins in the given load order.