EndFrame: add reason field to indicate why pipeline is being ended

This commit is contained in:
Aleix Conchillo Flaqué
2025-11-02 00:45:27 -07:00
parent e85e93b9b1
commit 62e45f466a
3 changed files with 18 additions and 3 deletions

View File

@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- `EndFrame` and `EndTaskFrame` have an optional `reason` field to indicate why
the pipeline is being ended.
- `CancelFrame` and `CancelTaskFrame` have an optional `reason` field to
indicate why the pipeline is being canceled. This can be also specified when
you cancel a task with `PipelineTask.cancel(reason="cancellation your