View Source MishkaInstaller.Reference.OnChangeDependency behaviour (Mishka Installer v0.0.3)
Link to this section Summary
Link to this section Types
@type app() :: atom()
@type optional_callbacks() :: {:ok, ref(), registerd_info()} | {:error, ref(), reason()}
@type ref() :: :on_change_dependency
@type registerd_info() :: MishkaInstaller.PluginState.t()
@type status() :: :add | :force_update
@type t() :: state()
Link to this section Callbacks
@callback delete(registerd_info()) :: optional_callbacks()
@callback restart(registerd_info()) :: optional_callbacks()
@callback start(registerd_info()) :: optional_callbacks()
@callback stop(registerd_info()) :: optional_callbacks()
@callback unregister(registerd_info()) :: optional_callbacks()