Kotlin Coroutines by Tutorials, 3rd Edition: Best Practices to Create Safe & Performant Asynchronous Code With Coroutines Front Cover

Kotlin Coroutines by Tutorials, 3rd Edition: Best Practices to Create Safe & Performant Asynchronous Code With Coroutines

  • Length: 301 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2022-05-10
  • ISBN-10: 1950325687
  • ISBN-13: 9781950325689
  • Sales Rank: #3296540 (See Top 100 Books)
Description

Learn coroutines!

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 paradigm, enhancing object-oriented and functional programming with simple, powerful and new constructs. Coroutines are one of these!

Who This Book Is For

This book is for intermediate Kotlin or Android developers who already know the basics of UI development but want to learn coroutine API to simplify and optimize their code.

Topics Covered in this Book

  • Asynchronous programming: Learn what asynchronous programming means and how to achieve it using not blocking calls.
  • Configuration: Learn how to configure IntelliJ and Android Studio to use Coroutine APIs
  • Coroutine principles: Learn what coroutines and launching builders are and how to manage Job dependencies.
  • Suspending functions: This is the main concept around coroutines and you’ll learn how to declare a suspending function and how to deal with results
  • Sequences and Iterators: Learn how to manage theoretically infinite collections of data in an efficient way using Sequences, Iterators and the yield function.
  • Thread communication techniques: Learn how different tasks can communicate using Channels, Flow, and specific coroutine operators.
  • And much more, including benchmarks, Broadcast Channels, Flow!

One thing you can count on: After reading this book, you’ll be prepared to take advantage of all the improvements coroutines have to offer!

To access the link, solve the captcha.