View Source ExPomodoro.PomodoroSupervisor (ExPomodoro v1.0.0)
Specific implementation for the Pomodoro Supervisor
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Given a cart id, returns nil
or a tuple where the first component is a
Elixir.ExPomodoro.PomodoroServer
pid and the second component the cart server state.
Given a reference and some arguments starts a Elixir.ExPomodoro.PomodoroServer
child and
returns it's pid.
Given a keyword of args, initialises the dynamic Pomodoro Supervisor.
Given a reference and a child pid, terminates a Elixir.ExPomodoro.PomodoroServer
process.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get_child(String.t()) :: {pid(), ExPomodoro.Pomodoro.t()} | nil
Given a cart id, returns nil
or a tuple where the first component is a
Elixir.ExPomodoro.PomodoroServer
pid and the second component the cart server state.
Given a reference and some arguments starts a Elixir.ExPomodoro.PomodoroServer
child and
returns it's pid.
Given a keyword of args, initialises the dynamic Pomodoro Supervisor.
Given a reference and a child pid, terminates a Elixir.ExPomodoro.PomodoroServer
process.