A coroutine is a powerful feature of the Kotlin programming language. Its main objective is to allow for suspending a function while it waits for the result of another function that invokes a long-term operation. This feature allows us to write asynchronous code without callbacks in a sequential way.
This section will cover the following topics:
- Coroutine basics
- Call stacks
- Coroutine testing
- Coroutine scope