15 lines
362 B
Markdown
15 lines
362 B
Markdown
## 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
|
|
```
|