# `Trogon.Commanded.Id`
[🔗](https://github.com/straw-hat-team/beam-monorepo/blob/trogon_commanded@v1.0.1/apps/trogon_commanded/lib/trogon/commanded/id.ex#L1)

A module for dealing IDs.

# `new`

```elixir
@callback new() :: String.t()
```

Generates a new ID.

# `new`

```elixir
@spec new() :: String.t()
```

Generates a UUID using the version 4 scheme, as described in
[RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122).

    iex> Trogon.Commanded.Id.new() |> String.length()
    36

---

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