Skip to content

Conversation

@fonkadelic
Copy link
Contributor

I've noticed that there is some unnecessary state in the preview implementation of the SpeechClient which is used in the SyncUps example.

However in the SpeechRecognition example, which also contains a SpeechClient, the isRecording state is used. But i'm wondering why there is an explicit finishTask endpoint instead of making use of cancellation.

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks! I think we used the mutability of this at one point but can't find it.

@stephencelis stephencelis merged commit 1ae4fd6 into pointfreeco:main Feb 5, 2025
15 checks passed
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.

2 participants