Drone. Supervisor
(ex_drone v0.1.0)
View Source
Dynamic supervisor for drone vehicle processes.
Each drone is started as a child Drone.Vehicle process under this
supervisor. Processes are looked up by name via the Drone.Vehicle.Registry.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: GenServer.on_start()
@spec start_vehicle(keyword()) :: Supervisor.on_start_child()
@spec stop_vehicle(atom()) :: :ok | {:error, :not_found}