Salam
06/27/2024, 7:13 AMJoffrey
06/27/2024, 7:48 AMGlobalScope
, which means you're escaping structured concurrency. When using such a snippet in a main()
function, the program may terminate before the coroutine can finish running. If you're relying on race conditions, you might notice different behaviors in different environments.Salam
06/27/2024, 7:54 AMmain()
About ensuring the JavaScript snippet keeps running, I am not sure how can I do that. Would you be able to advice me on this?
What would be the best way to run a coroutine for KMP js?Salam
06/27/2024, 8:11 AMSalam
07/03/2024, 1:58 PMJoffrey
07/03/2024, 3:44 PMSalam
07/03/2024, 3:46 PM