mainCoroutineScope

val mainCoroutineScope: CoroutineScope

CoroutineScope tied to the lifecycleOwner Lifecycle. The coroutines run on the main thread and are cancelled when the lifecycleOwner Lifecycle is destroyed.