# `Tinkex.Types.QueueState`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/types/queue_state.ex#L1)

Queue state parser used by TryAgain responses.

Mirrors the Python QueueState enum but normalizes strings to atoms. Any
unknown or missing value becomes `:unknown` instead of defaulting to
`:active`, which better captures the ambiguity for downstream observers.

# `t`

```elixir
@type t() :: :active | :paused_rate_limit | :paused_capacity | :unknown
```

# `parse`

```elixir
@spec parse(String.t() | nil) :: t()
```

Parse queue state strings into atoms.

Values are case-insensitive and handle strings with underscores or mixed
casing (e.g. `"PAUSED_RATE_LIMIT"`). Invalid or missing values return
`:unknown`.

---

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