Hacker News new | ask | show | jobs
by richbell 101 days ago
Kotlin Coroutine's structured concurrency. Cancelling a parent automatically cancels child jobs, unless explicitly handled not to. https://kotlinlang.org/docs/coroutines-basics.html
1 comments

Stupidly, child cancellation cancels the parent scope as well, unless the scope opts out by including SupervisorJob.