View Source Ravix.Connection.Supervisor (ravix v0.0.2)
Supervises and triggers the initialization of a Raven Store
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Fetches the compile time configuration
Initializes the connections supervisor, if the configs are invalid, the supervisor will fail
Fetches runtime configurations and maps them to a initial connection state, validating the configuration.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Fetches the compile time configuration
Initializes the connections supervisor, if the configs are invalid, the supervisor will fail
@spec runtime_configs(any(), atom()) :: {:error, list()} | {:ok, Ravix.Connection.State.t()}
Fetches runtime configurations and maps them to a initial connection state, validating the configuration.