Module us_main_sup

Root OTP supervisor of the US-Main application.

Behaviours: supervisor.

Description

Root OTP supervisor of the US-Main application.

Directly created by us_main_app.

Data Types

application_run_context()

application_run_context() = otp_utils:application_run_context()

child_spec()

child_spec() = supervisor:child_spec()

Function Index

init/1Initialises this OTP supervisor.
start_link/0Starts and links the US-Main supervisor, with OTP conventions.
start_link/1Starts and links the US-Main supervisor, with OTP conventions or not.

Function Details

init/1

init(Args::[application_run_context()]) -> {ok, {supervisor:sup_flags(), [child_spec()]}}

Initialises this OTP supervisor.

start_link/0

start_link() -> otp_utils:supervisor_pid()

Starts and links the US-Main supervisor, with OTP conventions.

(function probably useless)

start_link/1

start_link(AppRunContext::application_run_context()) -> otp_utils:supervisor_pid()

Starts and links the US-Main supervisor, with OTP conventions or not.


Generated by EDoc