View Source Whisperer.Orchestrator.Supervisor (Whisperer v0.1.0)
Dynamic supervisor for orchestrator processes. Each session gets its own orchestrator process.
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets the orchestrator process for a session, starting one if it doesn't exist.
Starts a new orchestrator process for a session.
Returns the process name for a session's orchestrator.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Gets the orchestrator process for a session, starting one if it doesn't exist.
@spec start_orchestrator(binary(), module(), map()) :: :ignore | {:error, any()} | {:ok, pid()} | {:ok, pid(), any()}
Starts a new orchestrator process for a session.
Returns the process name for a session's orchestrator.