summaryrefslogtreecommitdiffstats
path: root/examples/download_progress/README.md
diff options
context:
space:
mode:
authorLibravatar Songtronix <contact@songtronix.com>2020-03-23 15:54:23 +0100
committerLibravatar Songtronix <contact@songtronix.com>2020-03-23 17:53:57 +0100
commitfff333f89ba99f32171641f0e8d78c9cdfe291b4 (patch)
tree08d267252d154f0fb936f14195cb5acc40340510 /examples/download_progress/README.md
parent092e9fb4cc3edcf2083b4464d24d50c82a1163d2 (diff)
downloadiced-fff333f89ba99f32171641f0e8d78c9cdfe291b4.tar.gz
iced-fff333f89ba99f32171641f0e8d78c9cdfe291b4.tar.bz2
iced-fff333f89ba99f32171641f0e8d78c9cdfe291b4.zip
Add example for download with progress tracking
Diffstat (limited to 'examples/download_progress/README.md')
-rw-r--r--examples/download_progress/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/download_progress/README.md b/examples/download_progress/README.md
new file mode 100644
index 00000000..c6311163
--- /dev/null
+++ b/examples/download_progress/README.md
@@ -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
+```