Module us_web_sup

Root OTP supervisor of the us_web application.

Behaviours: supervisor.

Description

Root OTP supervisor of the us_web application.

Directly created by us_web_app.

Data Types

application_run_context()

application_run_context() = otp_utils:application_run_context()

Function Index

init/1Initialises the main US-Web OTP supervisor.
start_link/0Starts and links the US-Web supervisor, with OTP conventions.
start_link/1Starts and links the US-Web supervisor, with OTP conventions or not.
stop/0Stops the US-Web main supervisor, with OTP conventions or not.

Function Details

init/1

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

Initialises the main US-Web OTP supervisor.

start_link/0

start_link() -> otp_utils:supervisor_pid()

Starts and links the US-Web 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-Web supervisor, with OTP conventions or not.

stop/0

stop() -> void()

Stops the US-Web main supervisor, with OTP conventions or not.

Note: unlike supervisor_bridge, no supervisor:terminate/* callback exists.


Generated by EDoc