retainedScope
fun InstanceKeeper.retainedScope(context: CoroutineContext = Dispatchers.Main.immediateOrDefault, key: Any = CoroutineScope::class): CoroutineScope
fun InstanceKeeperOwner.retainedScope(context: CoroutineContext = Dispatchers.Main.immediateOrDefault, key: Any = CoroutineScope::class): CoroutineScope
Creates OR obtains a CoroutineScope instance that is retained across configuration changes using this InstanceKeeper.
Uses an immediateOrDefault dispatcher as the coroutine context by default.