# `Insider.Detectors.RestartRecurrence.State`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/lib/insider/detectors/restart_recurrence.ex#L24)

Opaque reducer state created by `Insider.Detectors.RestartRecurrence.new/1`.

Treat the struct as a value: pass it to `observe/3` and keep the returned
state. Its fields are not a public contract.

# `t`

```elixir
@type t() :: %Insider.Detectors.RestartRecurrence.State{
  buckets: map(),
  last_observed_at: integer() | nil,
  max_keys: pos_integer(),
  seen: map(),
  threshold: pos_integer(),
  window_us: pos_integer()
}
```

---

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