# `ArcanaWeb.TaskSupervisor`
[🔗](https://github.com/georgeguimaraes/arcana/blob/main/lib/arcana_web/task_supervisor.ex#L1)

Task supervisor for the Arcana dashboard's async operations.

Add to your application's supervision tree when using the dashboard:

    children = [
      MyApp.Repo,
      Arcana.Embedder.Local,
      ArcanaWeb.TaskSupervisor
    ]

This enables supervised async operations in the dashboard (evaluation
runs, test case generation, maintenance tasks) with:
- Graceful shutdown during deploys
- Visibility in Observer/LiveDashboard
- Proper crash logging with `$callers` metadata

Only needed for the dashboard; the Arcana library itself doesn't use it.

# `child_spec`

# `start_child`

Starts a fire-and-forget task under this supervisor.

The task is not linked to the caller, so crashes won't bring down
the calling process. Crashes are logged by the supervisor.

---

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