-
Notifications
You must be signed in to change notification settings - Fork 151
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
Is pool.terminate async? #56
Comments
@mramato thanks, you're right. The |
Thanks, will do. |
mramato
added a commit
to mramato/workerpool
that referenced
this issue
Mar 10, 2019
`pool.terminuate` returns a Promise, but the documentation and examples treated it as if it were synchronous. Fixes josdejong#56
maybephilipp
pushed a commit
to maybephilipp/workerpool
that referenced
this issue
Sep 27, 2020
* Add scenario * extra spaces * expand uploadFile for specify different files * change action for use fieName * too early try to upload file * trying to fix login unstability Co-authored-by: Aleksey Gerasimov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation treats
pool.terminate
as synchronous, but in practice (at least under Node.js) it returns a Promise.It makes sense to me that it would be asynchronous, but I wanted to confirm before updating my own code.
If it is async, I'd be happy to open a PR to make sure the doc matches.
Thanks for an awesome library!
The text was updated successfully, but these errors were encountered: