Lightning.Collaboration.Supervisor (Lightning v2.18.0)
View SourceSupervisor for workflow collaboration infrastructure.
Manages the collaboration Registry, :pg process group, and a dynamic supervisor for workflow collaboration processes.
The Registry must be started first to ensure processes can register themselves during startup.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the collaboration supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Starts the collaboration supervisor.
The registered name is taken from the :name option (defaulting to
__MODULE__). That name is the base from which init/1 derives the
instance's Registry, :pg scope, and DynamicSupervisor names, so a test can
start a fully isolated tree by passing a unique :name.