View Source ExPomodoro.Supervisor (ExPomodoro v1.0.0)

Main Supervisor module for the ExPomodoro child_spec.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Error message raised when the callback module is missing in the configuration.

Starts a GenServer process linked to the current process.

Link to this section Types

@type config_error() :: String.t()
@type init_arg() :: [{:callback_module, module()}]

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

missing_callback_module_error()

View Source
@spec missing_callback_module_error() :: config_error()

Error message raised when the callback module is missing in the configuration.

@spec start_link(init_arg()) :: {:ok, pid()}

Starts a GenServer process linked to the current process.