Cross platform coroutines?
-
Is there anything we can do for cross-platform parallel processing?
I've got some large arrays I want to process in parallel, and doing so with coroutines works for the JVM, but both JS and Native don't work.
So what options do I have to make this work everywhere?
Currently I'm doing something similar to:
launch(Dispatchers.Default) { for(split up the input) { coroutineScope { launch(Dispatchers.Default) { // Do some processing } } } }
-
Check these links: