My study on Coroutines
Following Learn Kotlin Programming by Samuel and Bocutiu.
Coroutines Background
Read it line by line...
Coroutines are designed so that we can write our code sequentially. This makes it much easier to read.
In the background, they avoid creating too many blocking too many threads.
Topics I deep dived into:
Here are my notes on:
- Suspending functions
- Coroutine builders
- Structured concurrency
- Jobs
- Context and Scope
- Async
- Dispatchers
- Error Handling