Skip to main content
InterviewHubPRO
Section Overview
Q15

Question 15 of 50

Part 2: Coroutines, Flow & Concurrency Architecture (11 - 24)

30%
Kotlin & Coroutines (50 Qs)•Part 2: Coroutines, Flow & Concurrency Architecture (11 - 24)

What is Structured Concurrency in Kotlin Coroutines and how does cancellation propagate?

senior LevelSystem Design

In Simple Words: Coroutines are organized in a parent-child hierarchy. If a parent coroutine is cancelled, all child coroutines are automatically cancelled. If a child fails with an exception, it cancels the parent and siblings (unless running in a SupervisorJob).