<p><span>Kotlin coroutines revolutionized JVM development, especially on Android and the backend. They let us easily make efficient and reliable multithreading. Its cutting-edge design and features are suited ideally for modern use cases. In this book, we will explore Kotlin coroutines - both built-
Kotlin Coroutines: Deep Dive (Kotlin for Developers)
โ Scribed by Marcin Moskaลa
- Tongue
- English
- Leaves
- 470
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Kotlin coroutines revolutionized JVM development, especially on Android and the backend. They let us easily make efficient and reliable multithreading. Its cutting-edge design and features are suited ideally for modern use cases. In this book, we will explore Kotlin coroutines - both built-in support and kotlinx.coroutines library.
โฆ Table of Contents
Table of Contents
Introduction
Part 1: Understanding Kotlin Coroutines
Why Kotlin Coroutines?
Sequence builder
How does suspension work?
Coroutines under the hood
Coroutines: built-in support vs library
Part 2: Kotlin Coroutines library
Coroutine builders
Coroutine context
Jobs and awaiting children
Cancellation
Exception handling
Coroutine scope functions
Dispatchers
Constructing a coroutine scope
The problem with shared state
Testing Kotlin Coroutines
Part 3: Channel and Flow
Channel
Select
Hot and cold data sources
Flow introduction
Understanding Flow
Flow building
Flow lifecycle functions
Flow processing
SharedFlow and StateFlow
Testing flow
Part 4: Kotlin Coroutines in practice
Common use cases
Recipes
Using coroutines from other languages
Launching coroutines vs. suspending functions
Best practices
The End
๐ SIMILAR VOLUMES
Kotlin coroutines have revolutionized JVM development, especially on Android and the backend, as they let us easily implement efficient and reliable multithreading. Their cutting-edge design and features are ideally suited to modern use cases. In this book, we will explore how Kotlin coroutines work
<p><span>You know how to use Kotlin, but do you know the advanced features? What are the consequences of using variance modifiers? What limitations do they introduce, and how can these be overcome? How does property delegation work? How to use reflection? How to implement a KSP or an annotation proc
<p><span>You know how to use Kotlin, but do you know the advanced features? What are the consequences of using variance modifiers? What limitations do they introduce, and how can these be overcome? How does property delegation work? How to use reflection? How to implement a KSP or an annotation proc
<h2>Learn Coroutines in Kotlin and Android!</h2><p>Executing background tasks has always been a big challenge in every environment and, in particular, on mobile devices where resources are limited. Kotlin has simplified the way you can write code improving your productivity with a new programming pa
Unlocking Kotlin: A Comprehensive Guide to Android Development for Tech Enthusiasts and Beginners "Unlocking Kotlin," your go-to guide for mastering the powerful Kotlin programming language. Whether you're a seasoned tech enthusiast or a curious beginner, this comprehensive e-book is tailored to