-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add completed method in Pool #354
Comments
Thanks for your suggestion. Actually, what you want is already there: just calling From the docs:
|
Wow, i tried. But it works not as expected. In this code pool terminated first. Tasks not executing.
|
Ooo wait a second, of course: So, yes, your suggestion makes sense, a method like |
|
Yes, you can keep track on all tasks and wait till they are all resolved, like the first example in #354 (comment). It's a bit cumbersome but not a showstopper. |
Instead of doing every time this:
We can do:
It would be very handy, if this method is added in the future
For example, threads.js already have this feature
The text was updated successfully, but these errors were encountered: