I have some isolation problems when using two generated JS files at the same time from different projects(migrating). Basically i want them both to work at the same time. They both work separately fine but using both I get ClassCastException and other exceptions using when using coroutines. Any way to fix this.
Vladas
12/30/2022, 11:41 AM
Simple reproduction with one project
Copy code
fun main() {
GlobalScope.launch (Dispatchers.Default){
var i = 0
while (true){
println(Count ${i++}")
delay(10_000)
}
}
}