# `Lightning.Collaboration.Supervisor`
[🔗](https://github.com/OpenFn/lightning/blob/main/lib/lightning/collaboration/supervisor.ex#L1)

Supervisor 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.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_child`

# `start_link`

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`.

# `terminate_child`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
