Большая статья с примерами про обработку ошибок в корутинах.
- 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
