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

Support callbacks when jobs finish #2

Open
larskotthoff opened this issue Aug 21, 2023 · 0 comments
Open

Support callbacks when jobs finish #2

larskotthoff opened this issue Aug 21, 2023 · 0 comments

Comments

@larskotthoff
Copy link
Sponsor Member

Allow the user to specify a callback for when one/all jobs are finished. Should probably be specified when starting the workers, i.e.

$start_workers(fun, n, callback_all_done, callback_one_done)

Callback functions could be given the returned results for the job(s). This would allow to monitor progress easily and run e.g. analysis of results without synchronously blocking.

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

1 participant