diff options
author | 2022-01-16 15:50:19 +0700 | |
---|---|---|
committer | 2022-01-16 15:50:19 +0700 | |
commit | dc50a2830ab553dfc5dfc28d4fd1af6b3981c656 (patch) | |
tree | 4ff8bce15f88a0ca610551fdd81afa968f7fda58 /examples/download_progress | |
parent | 2f557731f313ccc94b5d0ebb4ee5603624670daf (diff) | |
download | iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.tar.gz iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.tar.bz2 iced-dc50a2830ab553dfc5dfc28d4fd1af6b3981c656.zip |
Draft `websocket` example :tada:
Diffstat (limited to 'examples/download_progress')
-rw-r--r-- | examples/download_progress/src/download.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/download_progress/src/download.rs b/examples/download_progress/src/download.rs index 06d5d3fd..20682e7a 100644 --- a/examples/download_progress/src/download.rs +++ b/examples/download_progress/src/download.rs @@ -10,6 +10,7 @@ pub fn file<I: 'static + Hash + Copy + Send, T: ToString>( url: T, ) -> iced::Subscription<(I, Progress)> { subscription::run( + id, Download { id, url: url.to_string(), |