Fledex.Supervisor.Utils (fledex v0.6.0)
View SourceSome utilities related to the animatino system.
Summary
Functions
The name of the application Supervisor to which we can add dynamically supervisors. The AnimationSystem can be added to it
Defines the name of the pubsub system that is used by Fledex
used to register the workers with the registry
The name of the registry to which the workers will be registered
The name of the supervisor that observes all the workers in the AnimationSystem
Functions
@spec app_supervisor() :: module()
The name of the application Supervisor to which we can add dynamically supervisors. The AnimationSystem can be added to it
@spec pubsub_name() :: atom()
Defines the name of the pubsub system that is used by Fledex
@spec via_tuple(atom(), :animator | :job | :coordinator | :led_strip, atom()) :: GenServer.name()
used to register the workers with the registry
@spec worker_registry() :: module()
The name of the registry to which the workers will be registered
@spec workers_supervisor() :: module()
The name of the supervisor that observes all the workers in the AnimationSystem