Skip to content

Stop processing when a task is cancelled#386

Merged
julien-nc merged 2 commits into
mainfrom
enh/noid/cancel
Jun 25, 2026
Merged

Stop processing when a task is cancelled#386
julien-nc merged 2 commits into
mainfrom
enh/noid/cancel

Conversation

@julien-nc

Copy link
Copy Markdown
Member

Use the return value of reportOutput and reportProgress to early exit the provider's process methods when a task has been cancelled.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

… reportOutput return value

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc added enhancement New feature or request 3. to review labels Jun 25, 2026
… reportProgress return value

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc merged commit ba86fdc into main Jun 25, 2026
26 checks passed
@julien-nc julien-nc deleted the enh/noid/cancel branch June 25, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants