ASM.Session.Subtree (ASM v0.9.2)

Copy Markdown View Source

Per-session supervision subtree.

Child ordering is intentional and uses :rest_for_one:

  1. run supervisor
  2. session aggregate server

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

@spec start_link(keyword()) :: Supervisor.on_start()

via_name(session_id, role)

@spec via_name(String.t(), atom()) :: {:via, Registry, {atom(), {String.t(), atom()}}}