Add example for download with progress tracking

This commit is contained in:
Songtronix 2020-03-23 15:54:23 +01:00
parent 092e9fb4cc
commit fff333f89b
5 changed files with 244 additions and 0 deletions

View file

@ -0,0 +1,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
```