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

long running workers #15

Open
mstephen19 opened this issue Aug 27, 2022 · 0 comments
Open

long running workers #15

mstephen19 opened this issue Aug 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mstephen19
Copy link
Owner

At the moment, a ThreadzWorker will exit its process and terminate once the worker function has returned a value (or its promise has resolved/rejected).

There should be an option to create a worker than can be "long-running", meaning that it doesn't exit its process unless you tell it to. These long-running workers would accept a map of keys, all of which would correspond to different options the worker could run.

@mstephen19 mstephen19 added the enhancement New feature or request label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant