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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Lukas Lechner. Why exception handling with Kotlin Coroutines is so hard, how to master it!Александр Крылов. Здоровый CI для вашего продуктаАлександр Ивлев. Автовывод типов в Swift — это просто! Или?Андрей Берюхов. Темные стороны Jetpack ComposeВладимир Пригарин. AVAudioEngine. Когда собеседник за-за-заикаетсяАндрей Немцев. Firebase — это не только PUSH-сообщенияAdam Sandor. How GitOps Changes Everything in CI/CDAdam Sandor. How GitOps Changes Everything in CI/CDPhotoshop for Beginners | FREE COURSEДенис Якимов. Container Security: эволюция атак в 2020 годуГлеб Хохлов. Обход antiddos у операторов связиPatrick Higgins. Putting Gremlins in the Pipes: How to Automate Chaos EngineeringMicrosoft Build 2021 (Day 2)Coding in Chicago | 🎧 LoFi Jazz Hip-Hop [Code - Relax - Study]Darko Meszaros. Infrastructure Is Code on AWSPatrick Higgins. Putting Gremlins in the Pipes: How to Automate Chaos EngineeringDarko Meszaros. Infrastructure Is Code on AWSБорис Рютин, Павел Князев. DevSecOps: Фаззинг исходного кодаLEARN OPENCV C++ in 4 HOURS | Including 3x Projects | Computer Visionchill lofi beats to code/relax to