ibcoleman
02/23/2019, 6:05 PMgetTESTInventoryPage(pg: Int) makes a long-running SOAP call. I expected things to blow up--instead it appears to make the calls in an arbitrary order, but eight at a time (which happens to be the number of virtual cores on my machine. Which is exactly what I want. Which is extremely suspicious... 🙂Dico
02/23/2019, 6:31 PMGlobalScope uses Dispatchers.Default which uses this behaviour. It will delegate to Java's ForkJoinPool shared instanceDico
02/23/2019, 6:32 PMDispatchers.Default is a CoroutineDispatcher and thus an element of the CoroutineContext. It is automatically used if you dont explicitly specify a CoroutineDispatcheribcoleman
02/23/2019, 10:21 PM