InfluxElixir.Supervisor (InfluxElixir v0.1.12)

Copy Markdown View Source

Top-level supervisor for InfluxElixir.

Uses :one_for_one strategy to provide crash isolation between connections. A trading connection crash does NOT restart the analytics connection.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the top-level supervisor with the given connections.

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()

Starts the top-level supervisor with the given connections.

Options

  • :connections - keyword list of {name, config} pairs