jhn_elixir v0.1.3 JhnElixir.Supervisor behaviour
Link to this section Summary
Link to this section Types
Link to this type
child_desc()
Link to this type
child_spec()
child_spec() :: module() | {module(), term()} | :supervisor.child_spec()
Link to this type
on_child_start()
on_child_start() :: {:ok, pid()} | {:ok, pid(), term()} | {:error, start_child_error()}
Link to this type
on_init()
on_init() :: {:ok, {:supervisor.sup_flags(), [:supervisor.child_spec()]}}
Link to this type
on_start()
Link to this type
option()
Link to this type
start_child_error()
Link to this section Functions
Link to this function
child_spec(spec, overrides)
child_spec(child_spec(), keyword()) :: child_spec()
Link to this function
delete_child(server, id)
Link to this function
get_childspec(server, id)
get_childspec(server(), id :: id()) :: {:ok, child_spec()} | {:error, term()}
Link to this function
restart_child(server, id)
Link to this function
start(spec, options \\ [])
start({module(), any()} | [child_spec()], options()) :: on_start()
Link to this function
start_child(server, args)
start_child(server(), child_spec()) :: on_child_start()
Link to this function
stop(server, reason \\ :normal, timeout \\ :infinity)
Link to this function