update CHANGELOG.md

This commit is contained in:
Aleix Conchillo Flaqué
2025-01-27 13:37:31 -08:00
parent 10202dc529
commit f55f78e70e

View File

@@ -9,10 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- In order to create tasks in Pipecat it is now recommended to use - In order to create tasks in Pipecat frame processors it is now recommended to
`utils.asyncio.create_task()`. It takes care of uncaught exceptions, task use `FrameProcessor.create_task()` (which uses the new
`utils.asyncio.create_task()`). It takes care of uncaught exceptions, task
cancellation handling and task management. To cancel or wait for a task there cancellation handling and task management. To cancel or wait for a task there
is `utils.asyncio.cancel_task()` and `utils.asyncio.wait_for_task()`. All of is `FrameProcessor.cancel_task()` and `FrameProcessor.wait_for_task()`. All of
Pipecat processors have been updated accordingly. Also, when a pipeline runner Pipecat processors have been updated accordingly. Also, when a pipeline runner
finishes, a warning about dangling tasks might appear, which indicates if any finishes, a warning about dangling tasks might appear, which indicates if any
of the created tasks was never cancelled or awaited for (using these new of the created tasks was never cancelled or awaited for (using these new