https://kotlinlang.org logo
Title
d

Djuro

05/04/2023, 6:45 PM
Hello everyone, I've been using coroutines for quite a bit now and am looking to dive into the rabbit hole :kotlin-intensifies-purple: I am looking for some good resources on advanced coroutines, be it a book, article or whatever. Already looked into some of the recommendations on this thread. Any advice?
m

mitch

05/04/2023, 7:48 PM
@Djuro this is a really insightful article by Sam Cooper on coroutines and cancellation exceptions. https://link.medium.com/51XKtEPbxzb It helps understanding possible issues when using try/catch or runcatching patterns for logical error handling when we're in the coroutines world. This has caused real issues if users are unaware. A subsequently related topic is then typed error handling. You'd want to choose one that is best suited for your coroutines app. I wrote a survey article recently to see the maintainability impact of various patterns. https://link.medium.com/d72KvCrcxzb