# `WardrikEvents.Heads`

Holds the events' settings, each log's last sequence number and each agent's activity in an ETS
table.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `settings`

```elixir
@spec settings(atom()) :: map()
```

Returns the settings kept in the table `heads`.

# `update`

```elixir
@spec update(atom(), term(), term(), (term() -&gt; term())) :: {term(), term()}
```

Updates the value under `key` with `fun`. Returns `{before, after}`.

`fun` gets `initial` if `key` has no value. If another process updates `key` first, `fun` runs
again on the new value.

---

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