Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: onFinished event for the last result recognition #109

Open
adamofig opened this issue Nov 7, 2024 · 0 comments
Open

feat: onFinished event for the last result recognition #109

adamofig opened this issue Nov 7, 2024 · 0 comments

Comments

@adamofig
Copy link

adamofig commented Nov 7, 2024

I don't see a way to detect the last recognition, once you start getting results there is no way to detect the last inference,

SpeechRecognition.addListener('partialResults', async (data: any) => { })

I would like either an event for finished Results or the same partialResults event can emit a property when is the last results

I'm trying the tricky solution that is to set a timer, when you don't receive partial Results after some time, you know it has finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant