ioScope

fun LifecycleOwner.ioScope(): CoroutineScope(source)

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

Return

a lifecycle-aware CoroutineScope on ioDispatcher

See also