launchDefault

fun LifecycleOwner.launchDefault(block: suspend CoroutineScope.() -> Unit): Job(source)

Extension function to launch a CoroutineScope on the current Lifecycle using the platform defaultDispatcher.

Return

a Job on a lifecycle-aware CoroutineScope on defaultDispatcher

See also