Orhan Tozan
06/14/2022, 8:52 AMUserScope
bezrukov
06/14/2022, 10:47 AMOrhan Tozan
06/14/2022, 11:12 AMbezrukov
06/14/2022, 11:18 AMOrhan Tozan
06/14/2022, 11:27 AMCoroutineScope(Dispatchers.Main)
?Orhan Tozan
06/14/2022, 11:28 AMbezrukov
06/14/2022, 11:49 AMclass UserScope(context: CoroutineContext = EmptyCoroutineContext) : CoroutineScope by CoroutineScope(context)
(it needs to be delegated because CoroutineScope(....) is a function and not a constructor.
Then we init it with supervisor job + Main.immediate + exception handler that logs an errorOrhan Tozan
06/14/2022, 12:32 PMbezrukov
06/14/2022, 2:05 PM