alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.35k stars 1.04k forks source link

Kotlin: Use Coroutines #1597

Open Doomsdayrs opened 1 week ago

Doomsdayrs commented 1 week ago

Android classes are directly tapping into the Handlers / Executors / Threads.

We can replace those with Kotlin Coroutines instead.

ABI / API compatibility is maintained.