-
Notifications
You must be signed in to change notification settings - Fork 254
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
[feature] finish_in_order - process finish hook in the original order #338
Comments
the results that
capturing stdout would not work since that relies on replacing $stdout and that would not be thread local |
That doesn't do the same thing as the example I've provided. |
if you want to print as things are finishing you can use a finish hook docs in that case it would just print the result |
The finish hook with the example from the docs will be out of order. I want the finish hook to be triggered in order. Try to run the example I gave if I'm unclear |
|
Yes, that's a more elegant and efficient solution. I'm still hoping this would be built as a reusable solution into the parallel gem |
PR welcome :)
|
Would it be possible to add the functionality to execute things in parallel, while printing the results in the original order?
Proof of concept example:
The text was updated successfully, but these errors were encountered: