summaryrefslogtreecommitdiffstats
path: root/examples/download_progress/README.md
blob: 19cb296694aa00647171b3127276877cc8c59101 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## Download progress

A basic application that asynchronously downloads multiple dummy files of 100 MB and tracks the download progress.

The example implements a custom `Subscription` in the __[`download`](src/download.rs)__ module. This subscription downloads and produces messages that can be used to keep track of its progress.

<div align="center">
  <img src="https://iced.rs/examples/download_progress.gif">
</div>

You can run it with `cargo run`:

```
cargo run --package download_progress
```