# `Jido.Messaging.Onboarding.Supervisor`
[🔗](https://github.com/agentjido/jido_messaging/blob/v1.0.0/lib/jido_messaging/onboarding/supervisor.ex#L1)

Dynamic supervisor for onboarding workers partitioned by onboarding ID.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `count_workers`

```elixir
@spec count_workers(module()) :: non_neg_integer()
```

Returns the number of active onboarding workers for an instance.

# `get_or_start_worker`

```elixir
@spec get_or_start_worker(module(), String.t(), keyword()) ::
  {:ok, pid()} | {:error, term()}
```

Returns the worker for an onboarding flow, starting it when necessary.

# `start_link`

```elixir
@spec start_link(keyword()) :: Supervisor.on_start()
```

Starts the dynamic supervisor for onboarding workers.

# `start_worker`

```elixir
@spec start_worker(module(), String.t(), keyword()) :: {:ok, pid()} | {:error, term()}
```

Starts or returns the worker for an onboarding flow.

# `supervisor_name`

```elixir
@spec supervisor_name(module()) :: atom()
```

Resolves the registered supervisor name for an instance module.

---

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