Kotlin theorytheory 0/50 · 0%
Coroutines · medium

35. Custom Scopes and Jobs

Managing coroutine lifetimes.

Scopes control the context and Job controls the lifecycle/cancellation of coroutines.

Check your understanding

  1. 1. What happens to children if parent Job is cancelled?

  2. 2. Root scope for apps?