# `Antd.DownloadProgress`
[🔗](https://gitlab.com/autonomi/ant-sdk/-/tree/main/antd-elixir/blob/main/lib/antd/models.ex#L364)

A fetch-progress update emitted during a streaming download when progress is
requested. Counts are in *chunks*, not bytes — the byte denominator is the
download's total size (the `x-content-length` header over gRPC, the leading
NDJSON `meta` frame over REST). `total` is 0 while still unknown (mid
DataMap-resolution).

`phase` is one of:

  * `"resolving_map"` — walking the hierarchical DataMap to learn the count
  * `"resolved"` — DataMap resolved, `total` now holds the real chunk count
  * `"fetching"` — fetching data chunks; `fetched`/`total` advance the bar

# `t`

```elixir
@type t() :: %Antd.DownloadProgress{
  fetched: non_neg_integer(),
  phase: String.t(),
  total: non_neg_integer()
}
```

---

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