Summary

Review a summary of the course.

There is still so much more to say about Kotlin coroutines, but we’ve covered the essentials. Now it’s your turn to start using this knowledge in practice and deepen your understanding.

In summary, here are the essential use cases and some reflections on good style. First, if we introduce coroutines into our code, it’s best to use them from the bottom to the top of our application. We should avoid mixing suspending functions with blocking functions in other concurrency styles, like callbacks or explicit thread starting. The easiest way to achieve this is by using libraries with built-in support for suspending functions.

Get hands-on with 1400+ tech skills courses.