nwh
11/05/2018, 9:43 PMCoroutineScope
not used for what is essentially an on-going Job
with a lifecycle? That's how I've always thought about it (I believe it was mentioned in a kotlinconf talk)Zach Klippenstein (he/him) [MOD]
11/06/2018, 12:01 AMCoroutineScope
is just something that provides a CoroutineContext
. That context can contain whatever you want – the dispatcher to use, uncaught exception handlers, a name for debugging, etc.