Bardo.ScapeManager.SectorSupervisor (Bardo v0.1.0)

View Source

Supervisor for Sector processes.

Sectors are subdivisions of a Scape that help manage agent interactions in a distributed and efficient manner.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the supervisor.

Starts a new sector process with the given module name and ID.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link()

@spec start_link() :: {:ok, pid()}

Starts the supervisor.

start_sector(mod_name, uid)

@spec start_sector(atom(), atom() | integer()) :: {:ok, pid()}

Starts a new sector process with the given module name and ID.