Practical Patterns for Kotlin Coroutines in Production | Droidcon Italy 2024

Опубликовано: 25 Март 2026
на канале: Droidcon Italy
3,219
144

🎟️ 2025 Early Bird Tickets: https://it.droidcon.com/2025/tickets-...

⏩ Chapter:
00:00 intro
01:44 Synchronous and Asynchronous calls
03:42 Asynchronous mapping
04:24 Calls
08:56 Cancellation
11:45 Ignoring Children exceptions
14:01 Do not stop CancelletionException
15:10 Repositories
17:09 Blocking functions to suspending functions
19:08 Track blocking threads with Blockound
19:53 Turning suspending functions into Flow
25:20 SharedFlow
26:36 Staten in view models
27:22 Representing events with view models?

Kotlin Coroutines unleashed their true power in production when used with the right patterns and practices. In this talk from Droidcon Italy 2024, Marcin Moskala—author of Effective Kotlin and founder of Kt. Academy—shares hard-won lessons and advanced techniques for implementing coroutines in real-world apps. You’ll learn how to handle cancellation, exceptions, async mapping, and convert blocking to suspending functions the right way.

Explore how to track blocking threads with Blockhound, turn suspending functions into Flows, and design stable SharedFlows and ViewModel states. This session delivers not just theory, but practical, proven coroutine strategies you can apply immediately in your production apps.

Whether you're building modern Android apps or refining your architecture, these are coroutine patterns you don’t want to miss!
🎤 MARCIN MOSKALA, Author of Effective Kotlin, Founder of Kt. Academy

📍Droidcon Italiy was held in Milan on November 29th and 30th. It was attended by over 600 people and broadcast live to over 150 attendees worldwide. The event was highly interactive, with excellent presentations, high-value networking and strong engagement among attendees. 🎉

✅ LinkedIn:   / droidcon-italy  
✅ Instagram:   / droidcon_it  
✅ X:   / droidconit  
✅ BluSky: https://bsky.app/profile/droidcon.it
✅ Telegram: https://t.me/s/Droidconit

#KotlinCoroutines #AndroidDevelopment #EffectiveKotlin #DroidconItaly #KotlinFlow #MobileDevelopment #AsyncProgramming #JetpackCompose #DeveloperTips #CoroutinesInProduction