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

Progress information #23

Open
Kikobeats opened this issue Sep 17, 2017 · 1 comment
Open

Progress information #23

Kikobeats opened this issue Sep 17, 2017 · 1 comment

Comments

@Kikobeats
Copy link

First of all, thanks for this library, it looks amazing!

I discovered it because I'm async contributor and I needed a Promise based alternative.

The issue is related with p-progress, that reports you information about tasks progress.

For example: https://github.com/sindresorhus/p-progress/blob/master/example.js

Because you need to manually increment the progress counter, could be easy do this internally into aigle methods for increment the counter based in each step of the .parallel, .series, .each, .etc methods.

It could be expose as .onProgress method for get information about the job state.

The thing is, do you think make sense and could be useful expose this information?

@suguru03
Copy link
Owner

I really like the idea. However, I would like to deal with it very carefully.
Because it may affect performance and I don't think the feature isn't needed in general use cases.
But I like the idea, so I will look into it and think about a good solution for it. Thanks! 😄

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

2 participants