Skip to content
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

Move boilerplate creation and completion of progress meters into method #518

Open
charlespierce opened this issue Aug 6, 2019 · 0 comments

Comments

@charlespierce
Copy link
Contributor

As mentioned in the discussion here: #505 (comment), we have a lot of boilerplate around creating a progress_spinner or progress_bar, performing some action, and then tearing down the spinner / bar.

It would be nice to abstract that into a method that accepts aFnOnce for the task and handles the creation of the progress element, calling the task, and finally cleaning up the progress meter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant