CHANGELOG.md: task.cancel() and EndFrame clarification
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -73,11 +73,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Other
|
### Other
|
||||||
|
|
||||||
- Updated all examples to use `task.cancel()` instead of pushing an `EndFrame`
|
- Updated examples to use `task.cancel()` to immediately exit the example when a
|
||||||
when a participant leaves/disconnects. If you push an `EndFrame` this will
|
participant leaves or disconnects, instead of pushing an `EndFrame`. Pushing
|
||||||
cause the bot to run through everything that is internally queued (which could
|
an `EndFrame` causes the bot to run through everything that is internally
|
||||||
take seconds). Instead, if a participant disconnects there is nothing else to
|
queued (which could take some seconds). Note that using `task.cancel()` might
|
||||||
be sent and therefore we should stop immediately.
|
not always be the best option and pushing an `EndFrame` could still be
|
||||||
|
desirable to make sure all the pipeline is flushed.
|
||||||
|
|
||||||
## [0.0.54] - 2025-01-27
|
## [0.0.54] - 2025-01-27
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user