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

[Question] Interrupting a running thread and stopping its execution #22

Open
mhosny92 opened this issue Apr 21, 2022 · 0 comments
Open

Comments

@mhosny92
Copy link

I've a situation where I need to terminate previously running tasks before starting a new one. I've tried to use the cancel(taskId) method but it cancels a task that is scheduled to run not a currently running task.

Is there a method to kill the task currently executing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant