TGViewer
MobDev Portal | Мобильная Разработка MobDev Portal | Мобильная Разработка @mobdevportal · 5.39K subscribers
Post #543 2.75K
The Golden Rule of Coroutine Exceptions

Большая статья с примерами про обработку ошибок в корутинах.

- The launch Builder
- The async Builder
- Parent-Child Relationships (coroutineScope)
- Isolating Failures (supervisorScope)
- The Global Catcher (CoroutineExceptionHandler)
- async Within a supervisorScope
- Cancellation is a Special Kind of Exception
- Unstoppable Cleanup with NonCancellable
- Nested Scopes & Propagation
- The Job Hierarchy in Detail
- supervisorScope vs CoroutineScope(SupervisorJob())
- Handling Timeouts
- Exceptions When Awaiting Multiple Jobs

👉 Читать (En)

👉 @MobDevPortal
  • ❤ 5
  • 👍 1
  • 😁 1
More from @mobdevportal
  1. Aug 25, 2026Совет по SwiftUI Используйте role у кнопок, чтобы явно указать SwiftUI, какое действие вып…
  2. Aug 25, 2026Пикер реакций в стиле Apple Music на SwiftUI https://youtu.be/fHV6YiodOi4 👉 @MobDevPortal
  3. Aug 8, 2026Совет по SwiftUI В iOS 26+ используйте SubscriptionOfferView, чтобы отображать компактное…
  4. Aug 8, 2026Интерактивный слайдер таймлайна из приложения Apple Sports на SwiftUI https://youtu.be/TAd…
  5. Jul 28, 2026Сворачиваемая панель вкладок как в приложении Instagram на SwiftUI https://youtu.be/691o2F…
  6. Jul 28, 2026Совет по SwiftUI Используйте contentMargins(), чтобы задать кастомные отступы вокруг конте…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →