childSupervisorJobScope

fun CoroutineScope.childSupervisorJobScope(context: CoroutineContext = EmptyCoroutineContext): CoroutineScope

Creates a new CoroutineScope with a SupervisorJob that is a child of the current scope's job. This allows for launching coroutines that can fail independently of the parent scope.