Add example for download with progress tracking
This commit is contained in:
parent
092e9fb4cc
commit
fff333f89b
5 changed files with 244 additions and 0 deletions
15
examples/download_progress/README.md
Normal file
15
examples/download_progress/README.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue