You are viewing documentation for version 0.5.0. View latest version

core / pragma.jobs / BackgroundManager / createChildJob /

createChildJob #

abstract fun createChildJob(): CompletableJob

Creates a kotlinx.coroutines.Job that is a child of this BackgroundManager.

Cancelling the child job will not affect the BackgroundManager, but calling shutdown will cancel the child job.