launchIO

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

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

Return

a Job on a lifecycle-aware CoroutineScope on ioDispatcher

See also