# `Jidoka.Session.Store.Dets`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/session/store/dets.ex#L1)

Disk-backed, lease-aware session store built on Erlang DETS.

This adapter is suitable for one BEAM node that needs sessions to survive a
process or node restart. One GenServer owns the DETS table and serializes all
lease transitions. Each accepted write calls `:dets.sync/1` before reply.
Use an external transactional store for multi-node ownership.

# `option`

```elixir
@type option() ::
  {:path, Path.t()}
  | {:table, atom()}
  | {:name, GenServer.name()}
  | {:auto_save, non_neg_integer() | :infinity}
```

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link([option()]) :: GenServer.on_start()
```

Starts a disk-backed session store.

---

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