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

Downloading a file asynchronously with a `Subscription` while displaying the progress with a `ProgressBar`.

<div align="center">
  <a href="https://gfycat.com/watchfulwelcomeladybird">
    <img src="https://gfycat.com/watchfulwelcomeladybird">
  </a>
</div>

You can run it with `cargo run`:

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