Tai.Advisors.InstanceSupervisor (tai v0.0.75)

The default supervisor for advisor instances. This supervisor can be replaced with a custom implementation by setting Tai.Fleets.AdvisorConfig#instance_supervisor.

Link to this section Summary

Link to this section Types

Link to this type

advisor_config()

Specs

advisor_config() :: Tai.Fleets.AdvisorConfig.t()

Link to this section Functions

Link to this function

advisor_child_spec(advisor_config)

Specs

advisor_child_spec(advisor_config()) :: Supervisor.child_spec()
Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

process_name(advisor_config)

Specs

process_name(advisor_config()) :: atom()
Link to this function

start_link(advisor_config)

Specs

start_link(advisor_config()) :: Supervisor.on_start()