View Source FunWithFlags.Supervisor (fun_with_flags v1.12.0)
It implements Supervisor.child_spec/1
to describe the supervision tree for the
:fun_with_flags
application.
This module is used internally by the package when the :fun_with_flags
OTP
application starts its own supervision tree, which is the default behavior.
If that is disabled, the user's host application should use this module to start
the supervision tree directly.
The main purpose of this API is allow the user's host application to control
when FunWithFlag's supervision tree is started. This is helpful when the
package is configured to depend on some of the host application's modules, e.g.
the Phoenix.PubSub
process (as documented).
More detailed instructions on how to configure this in an application are available in the readme.
Summary
Functions
Returns a specification to start this module under a supervisor.
How to start this supervisor and its tree.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
How to start this supervisor and its tree.
This function is referenced by the child_spec/1
definition for this supervisor module.