Skip to content

Allow running tasks to be cancelled#52

Merged
andrewMacmurray merged 2 commits intomainfrom
cancel-tasks
Jan 2, 2026
Merged

Allow running tasks to be cancelled#52
andrewMacmurray merged 2 commits intomainfrom
cancel-tasks

Conversation

@andrewMacmurray
Copy link
Owner

Closes #35

This allows tasks to be cancelled from outside the task chain, either:

  • Cancel a specific task with ConcurrentTask.cancel using a String id returned from ConcurrentTask.attemptWithid
  • Cancel all running tasks with ConcurrentTask.cancelAll

@andrewMacmurray andrewMacmurray merged commit 7e3ff72 into main Jan 2, 2026
4 checks passed
@andrewMacmurray andrewMacmurray deleted the cancel-tasks branch January 2, 2026 14:53
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

Successfully merging this pull request may close these issues.

Task cancellation support

1 participant