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

Allow calling terminate on workers #408

Open
JonasAlaif opened this issue Nov 28, 2023 · 0 comments · May be fixed by #420
Open

Allow calling terminate on workers #408

JonasAlaif opened this issue Nov 28, 2023 · 0 comments · May be fixed by #420
Labels
enhancement New feature or request

Comments

@JonasAlaif
Copy link

It may not necessarily be possible to break up the computation inside a Worker into nice chunks (e.g. when calling into an external library to do a long-running computation). Thus I haven't been able to find a nice way to force a Worker to stop (dropping the bridge will eventually destroy the worker once computation is done, but will keep running the task until that point). Would it be possible to add support for hard-terminating a Worker using the terminate method?

@hamza1311 hamza1311 added the enhancement New feature or request label Dec 1, 2023
@JonasAlaif JonasAlaif linked a pull request Dec 7, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants