Tech
Your SupervisorJob Isn't Protecting What You Think It Is
Your SupervisorJob isn't protecting what you think it is.
The structured-concurrency pitch for SupervisorJob is simple: "a child's failure
doesn't cancel its siblings." Teams building a shared Kotlin Multiplatform module —
one ViewModel -equivalent class whose CoroutineScope backs both the Android screen
and the iOS view model via a Swift bridge — lean on exactly that promise to keep one
flaky network call from taking down every other in-flight operation.
It works right up until...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to