Kotlin Coroutines in Practice (Paperback)
Language: English
Published by Independently Published, 2026
- Softcover
- New

Seller: CitiRetail, Stevenage, United KingdomCitiRetail
AbeBooks seller since June 29, 2022
Condition: New
US$ 44.55
Quantity: 1 available
Add to basketItem description from seller
Paperback. Every modern application has to do more than one thing at once. It has to fetch data without freezing the screen, handle thousands of requests without running out of threads, and stay responsive no matter how much work is happening behind the scenes. Kotlin coroutines are the language's answer to this problem. They let you write asynchronous code that reads like ordinary, sequential code, while still giving you the performance and safety that concurrent programming demands. If you build for Android, write backend services in Ktor or Spring, or simply want your Kotlin code to handle real-world workloads well, coroutines are not optional knowledge. They are the foundation.Kotlin Coroutines in Practice is a complete, hands-on guide to writing concurrent and asynchronous Kotlin code the right way. You will start with the reasoning behind coroutines, move through every fundamental building block, and go deep into structured concurrency, the principle that keeps your asynchronous code predictable instead of chaotic. From there, you will master cancellation, exception handling, Flow, and reactive state management with StateFlow and SharedFlow, before applying everything to real Android and backend applications.What's InsideThe reasoning behind coroutines, and why suspension beats blockingCoroutine builders, dispatchers, and the coroutine lifecycleStructured concurrency in full depth, including common pitfalls and how to avoid themCooperative cancellation and practical exception-handling patternsFlow, for working with asynchronous streams of dataStateFlow and SharedFlow, for reactive state and event managementTesting coroutines and Flow with kotlinx-coroutines-test and TurbineReal coroutine usage in Android (ViewModel, lifecycle-aware scopes) and backend development with Ktor and SpringPerformance tuning, common bottlenecks, and migrating legacy callback-based code to coroutinesWho It's Meant ForThis book is written for Kotlin developers who already know the basics of the language and want to genuinely understand concurrency, not just copy patterns they do not fully trust. Whether you are building Android applications, backend services, or general-purpose Kotlin software, and whether you are new to coroutines or have used them without ever feeling fully confident about why they behave the way they do, this book will take you from uncertain to genuinely skilled.Somewhere in your codebase right now, there might be a coroutine that never gets cancelled, an async call whose exception is quietly disappearing, or a screen update waiting to crash on a thread it was never meant to touch. You will not know until it happens. Or you could know now.Open the first chapter. Find out exactly what structured concurrency was built to protect you from, and start writing Kotlin code that does not just work, but works predictably, every single time. This item is printed on demand. Shipping may be from our UK warehouse or from our Australian or US warehouses, depending on stock availability.…
Seller Inventory # 9798177557182
- Title
- Kotlin Coroutines in Practice (Paperback)
- Author
- Darrell I. Butler
- Publisher
- Independently Published
- Publication year
- 2026
- Condition
- new
- Binding
- Paperback
- Language
- English
- ISBN 13
- 9798177557182
Every modern application has to do more than one thing at once. It has to fetch data without freezing the screen, handle thousands of requests without running out of threads, and stay responsive no matter how much work is happening behind the scenes. Kotlin coroutines are the language's answer to this problem. They let you write asynchronous code that reads like ordinary, sequential code, while still giving you the performance and safety that concurrent programming demands. If you build for Android, write backend services in Ktor or Spring, or simply want your Kotlin code to handle real-world workloads well, coroutines are not optional knowledge. They are the foundation.
Kotlin Coroutines in Practice is a complete, hands-on guide to writing concurrent and asynchronous Kotlin code the right way. You will start with the reasoning behind coroutines, move through every fundamental building block, and go deep into structured concurrency, the principle that keeps your asynchronous code predictable instead of chaotic. From there, you will master cancellation, exception handling, Flow, and reactive state management with StateFlow and SharedFlow, before applying everything to real Android and backend applications.
What's Inside- The reasoning behind coroutines, and why suspension beats blocking
- Coroutine builders, dispatchers, and the coroutine lifecycle
- Structured concurrency in full depth, including common pitfalls and how to avoid them
- Cooperative cancellation and practical exception-handling patterns
- Flow, for working with asynchronous streams of data
- StateFlow and SharedFlow, for reactive state and event management
- Testing coroutines and Flow with kotlinx-coroutines-test and Turbine
- Real coroutine usage in Android (ViewModel, lifecycle-aware scopes) and backend development with Ktor and Spring
- Performance tuning, common bottlenecks, and migrating legacy callback-based code to coroutines
This book is written for Kotlin developers who already know the basics of the language and want to genuinely understand concurrency, not just copy patterns they do not fully trust. Whether you are building Android applications, backend services, or general-purpose Kotlin software, and whether you are new to coroutines or have used them without ever feeling fully confident about why they behave the way they do, this book will take you from uncertain to genuinely skilled.
Somewhere in your codebase right now, there might be a coroutine that never gets cancelled, an async call whose exception is quietly disappearing, or a screen update waiting to crash on a thread it was never meant to touch. You will not know until it happens. Or you could know now.
Open the first chapter. Find out exactly what structured concurrency was built to protect you from, and start writing Kotlin code that does not just work, but works predictably, every single time.
"Synopsis" may belong to another edition of this title.
CitiRetail
Stevenage, United Kingdom
AbeBooks seller since June 29, 2022
Shipping rates from United Kingdom to U.S.A.
| Item | 7 to 14 business days | 7 to 60 business days |
|---|---|---|
| First item | US$ 48.51 | US$ 48.51 |
Payment methods
Store description
Online business
Seller's business information
ABC BOOKS LIMITED
10 John Street
London, United Kingdom WC1N 2EB
Terms of sale
Orders can be returned within 30 days of receipt.
Shipping terms
Please note that titles are dispatched from our US, Canadian or Australian warehouses. Delivery times specified in shipping terms. Orders ship within 2 business days. Delivery to your door then takes 7-14 days.