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

Joining the thread spawned by startProgress #10

Closed
andersjel opened this issue Feb 25, 2015 · 2 comments
Closed

Joining the thread spawned by startProgress #10

andersjel opened this issue Feb 25, 2015 · 2 comments
Milestone

Comments

@andersjel
Copy link

At the moment, it is hard to know when the thread spawned by startProgress is done
printing. This makes it difficult to put a newline after the last line and do any additional
output. Right now, one has to introduce an artificial delay or live with the race condition.

@roelvandijk
Copy link
Owner

Good point. It would be nice if we could solve this without needing an ugly hack like an artificial delay.

I'll have to think a bit more about the asynchronous interface.

@roelvandijk roelvandijk added this to the 0.1.2 release milestone Jul 8, 2017
@roelvandijk
Copy link
Owner

Implemented in 828817f. I used the async package which provides a good interface for this use case.

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

No branches or pull requests

2 participants