This book contains four sections.
The first section is an introduction to multithreading and concurrent programming with Kotlin. It explains how you can execute asynchronous tasks using the Kotlin language, what problems you may face and how coroutines can be a valid solution. You’ll be introduced to the fundamental concepts of suspending functions, coroutine context and dispatching. You’ll also learn how to manage exceptions and how to handle errors with coroutines.
The second section explains, in detail and with several examples, how to use very important API based on coroutine technology. You’ll learn how to create sequences and iterators. Using channels, you’ll learn how different coroutines can communicate and exchange data in thread safe way. Finally you’ll learn all the details about coroutine flow which are a fundamental part of the last version.
In the first two sections, you’ll learn everything about coroutines. If you need some specific knowledge about how to use them in the Android environment, the third section is for you. You’ll create a complete Android application and you’ll see how to use coroutines in order to create a very responsive application.
The best way to learn about Kotlin Coroutines is to roll up your sleeves and start coding. Enjoy the book!
Если вам понравилась эта книга поделитесь ею с друзьями, тем самым вы помогаете нам развиваться и добавлять всё больше интересных и нужным вам книг!