Vtome.ru - электронная библиотека

Elements Of Kotlin Coroutines 0.2

  • Добавил: literator
  • Дата: 11-09-2020, 01:08
  • Комментариев: 0
Elements Of Kotlin Coroutines 0.2Название: Elements Of Kotlin Coroutines 0.2
Автор: Mark L. Murphy
Издательство: CommonsWare
Год: 2020
Страниц: 237
Язык: английский
Формат: pdf (true), rtf, mobi, epub
Размер: 10.16 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.

Kotlin is an ever-evolving language, with a steady stream of new releases. 2018 saw the release of Kotlin 1.3, and perhaps the pre-eminent feature in that release was the coroutines system. While coroutines do not change the language very much, they will change the development practices of Kotlin users substantially. For example, Google already is supporting coroutines in some of the Android Jetpack Kotlin extension libraries (“Android KTX”) and will expand upon those in the coming years. With all that in mind, you may be wondering what the fuss is all about.

This book assumes that you have basic familiarity with Kotlin syntax, data types, and core constructs (e.g., lambda expressions).

What’s New in Version 0.2?
There are a few new chapters, covering:
• Channels
• StateFlow
• Adapting callback-based APIs
• Using coroutines in Android UIs
In addition, there were many bug fixes and other updates to the existing material, to bring it more in line with version 1.3.6 of the coroutines libraries.

Скачать Elements Of Kotlin Coroutines 0.2












НЕ РАБОТАЕТ TURBOBIT.NET? ЕСТЬ РЕШЕНИЕ, ЖМИ СЮДА!


ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.