Загрузка страницы

Lukas Lechner. Почему обработка исключений с помощью Kotlin Coroutines сложная и как ее освоить!

Original: https://youtu.be/6iSUfh-RZYc

Getting the «happy path» right with Kotlin Coroutines is pretty straightforward. On the other hand, handling exceptions appropriately when something goes wrong is not that trivial.
In this talk, you will learn about the reasons for the complexity of exception handling with Kotlin Coroutines and about all things you need to consider to appropriately deal with occurring exceptions. You will learn when you should use a conventional try-catch clause, and when you should install a CoroutineExceptionHandler instead. You will also learn about the special properties of top-level Coroutines when it comes to exception handling and how they differ when they are starting with launch and async.
Furthermore, you will learn all about the exception handling peculiarities of the scoping functions coroutineScope{} and supervisorScope{} and why you should re-throw CancellationExceptions to avoid subtle errors. This talk is for developers that are already familiar with the basics of Kotlin Coroutines but still struggle to understand how exception handling works in detail.
By the end of this talk, you will have a better understanding of how exceptions are treated by the Coroutines machinery and how you can handle them appropriately.

Lukas is a freelance software developer who has worked on Android projects for many years now. He also works as a Software Development Instructor and produces Online Courses about subjects like Kotlin Coroutines on Android. When he is not sitting in front of a computer, Lukas likes to spend his free time with his wife and two young children.

Презентация на Я.Диске: https://disk.yandex.ru/i/qwsUjGceisZgnA

AppsFest: https://2020.appsfest.ru

Видео Lukas Lechner. Почему обработка исключений с помощью Kotlin Coroutines сложная и как ее освоить! канала CodeFest Russia
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
6 мая 2021 г. 14:10:23
00:41:45
Яндекс.Метрика