-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve download_progress example #283
Conversation
Looks cool! 🎉 I think we should add progress bars and merge the example with the |
@hecrj I have added progress bar and replaced the old download example with this one. Is it ok to be merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Before merging, I believe we need to focus on simplifying the example a bit.
@hecrj Thanks for reviewing. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this 🎉
I have rebased and simplified the example a bit while keeping the ProgressBar
widget. I think we can merge this!
It seems like we have no example to demonstrate the powerful strength of
Subscription.batch()
API. So this is why I add this example. I know we already have a nice download example that has some duplicate code with this one. I still think we deserve such an example to instruct the new user to handle multiple asynchronous commands withSubscription.batch()
. Maybe we can merge two download examples into a single one and distinct with different modes (simple and advanced)?