# `AshCache.Supervisor`
[🔗](https://github.com/Undeadlol1/ash_cache/blob/v0.1.0/lib/ash_cache/supervisor.ex#L1)

Starts every cache store declared by the app's resources — the "zero
manual init" half of the extension. Add it once to the application's
supervision tree:

    {AshCache.Supervisor, otp_app: :my_app}

It walks `config :my_app, ash_domains: [...]`, collects the distinct
`store` names of resources using `AshCache.Resource`, and supervises one
Cachex instance per store. Resources added later are picked up on the
next boot with no further wiring.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

# `store_names`

```elixir
@spec store_names([module()]) :: [atom()]
```

The distinct store names declared by the given domains' cached resources.

---

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