Joan Colmenero
10/28/2019, 9:42 PMopen class CoroutineContextProvider {
open val Main: CoroutineContext by lazy { UI }
open val IO: CoroutineContext by lazy { CommonPool }
}
Is the same as :
open class CoroutineContextProvider {
open val main: CoroutineContext by lazy { Dispatchers.Main }
open val IO: CoroutineContext by lazy { <http://Dispatchers.IO|Dispatchers.IO> }
}
I was using experimental coroutines and now I have to update themtseisel
10/28/2019, 10:11 PMDispatchers
object are not costly to create.Kroppeb
10/28/2019, 10:21 PMgildor
10/29/2019, 1:07 AMJoan Colmenero
10/29/2019, 11:37 AMgildor
10/29/2019, 1:05 PM