Intermediate
Kotlin
Q86 / 100
What is the difference between coroutineScope and supervisorScope?
Correct! Well done.
Incorrect.
The correct answer is B) coroutineScope cancels all children when one fails; supervisorScope lets siblings continue when one child fails
B
Correct Answer
coroutineScope cancels all children when one fails; supervisorScope lets siblings continue when one child fails
Explanation
coroutineScope propagates child failures. supervisorScope (like SupervisorJob) isolates failures — useful when parallel tasks are independent.
Progress
86/100