January 2018
Intermediate to advanced
434 pages
14h 1m
English
Coroutines are a great language feature in Kotlin. Here's an apt definition of coroutines according to the documentation:
It's not just the ease of use, it's much more powerful than threads, especially in the case of a mobile environment where even milliseconds of performance gain is appreciated. Spawning multiple threads can cause performance issues, which isn't the case with coroutines since there can be thousands of those running without much drop in performance levels.
The following is what the official documentation of Kotlin says:
Read now
Unlock full access