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.