Is there any suggested way to replace this? or should we continue with newFixedThredPoolContext (or java style executors)
j
Jeremy
02/22/2019, 5:19 PM
#CFTS4CTBK is purely a user-level language abstraction. It does not tie any native resources(OS or anything) and, uses just one relatively small object in the JVM heap. You can create 100K coroutines easily.
i
itasyurt
02/23/2019, 11:04 AM
in my case, what I need is to put some upper limit to the parallelism. In Java, fixed thread pools would work for me. what I wonder is if there was a better/more preferred way in Kotlin.