defaultScope

fun LifecycleOwner.defaultScope(): CoroutineScope(source)

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

Return

a lifecycle-aware CoroutineScope on defaultDispatcher

See also