In this chapter, we will explore options for writing asynchronous code in Kotlin. We'll start with common threading primitives you may be familiar with from Java, and then work our way up to more Kotlin-idiomatic approaches to writing asynchronous code.
The following topics will be covered in this chapter:
- Async primitives, such as threads and executors
- Fundamentals of coroutines
- Coroutines in practice