https://kotlinlang.org logo
Title
a

Alfred Lopez

10/13/2021, 2:44 PM
@strooooke Many thanks!
s

Sam

10/13/2021, 5:12 PM
JavaScript is single threaded. If you're running something in a tight loop and the loop never exits, your app will never execute any other code. Coroutines will execute on your main thread in JS.
a

Alfred Lopez

10/14/2021, 12:42 AM
it seems that the await() point of an async call hangs the thread. I'm using the native-mt coroutines, but that doesn't seem to help. Removing the async/await does, however. These async calls are to ktor HttpClient.get/put, which I'd like to execute simultaneously.