Optional supervision boundary for configured transport children.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts a :one_for_one supervisor with one child per configured transport.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Starts a :one_for_one supervisor with one child per configured transport.
The child spec that use Snodo.Server defines starts this supervisor. It
takes :transports and :supervisor_name (passed here as :name) along
with runtime overrides.
Options:
:runtime- theSnodo.Server.Runtimegiven to every transport. Required.:transports- the transport children. Defaults to[]. Each entry is a module, started as{module, runtime: runtime}; a{module, opts}tuple, started with:runtimeadded tooptsunless already present; or a child spec map, used as given.:name- a name to register the supervisor under.