Skip to content

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

Description

@mhosny92

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions