# `BB.Parameter.Store.Dets`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/parameter/store/dets.ex#L5)

DETS-backed parameter persistence.

Uses OTP's `:dets` module for disk-backed term storage. Parameters are
persisted automatically on each change and restored on robot startup.

## Options

- `:path` - (required) Path to the DETS file
- `:auto_save` - Auto-save interval in milliseconds. Defaults to `:infinity` (sync on each write)

## Example

```elixir
settings do
  parameter_store {BB.Parameter.Store.Dets, path: "/var/lib/robot/params.dets"}
end
```

## File Location

For production deployments, use an absolute path in a persistent location.

# `t`

```elixir
@type t() :: %BB.Parameter.Store.Dets{path: String.t(), table: :dets.tab_name()}
```

---

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