Lux.Company.Hub.Local (Lux v0.5.0)
View SourceLocal implementation of the company hub. Manages company state and agent communication within a single BEAM node.
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets an agent by ID from the company.
Starts the local hub.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get_agent(String.t(), hub :: GenServer.server()) :: {:ok, map()} | {:error, term()}
Gets an agent by ID from the company.
Starts the local hub.