Автор: Mark L. Murphy
Издательство: CommonsWare
Год: 2019
Страниц: 171
Язык: английский
Формат: pdf (true), rtf, mobi, epub
Размер: 10.1 MB
Coroutines are an important addition to the world of Kotlin.
Coroutines offer a first-class reactive programming approach, tightly integrated with the language itself. Coroutines help simplify multi-threaded development, allowing you to retain a “normal” imperative sort of programming model while still designating certain code sections to run on alternative thread pools. Beyond that, flows and channels let you model data streams while retaining the same multi-threaded characteristics.
This book is designed to help you get “spun up” on coroutines and how they can be applied in your projects.
Most of the sample code from the book is available in the Klassbook, so you can try running it in your Web browser. Some Android samples are available via GitLab repositories.
This book assumes that you have basic familiarity with Kotlin syntax, data types, and core constructs (e.g., lambda expressions).
Скачать Elements Of Kotlin Coroutines 0.1