suspension statement). • Resume (Coroutine execution statement). • Multithreading • Still in use by C# and JavaScript • Back again with Kotlin coroutine.
async, await, defer, computation coroutines quickly allow you to identify which parts of your code are suspendable, which are to be executed on another thread, where to send the result of an asynchronous computation.
be written into easy to understand sequential way. ▰ Light weighted. ▰ No Callbacks hell. ▰ Chaining is very easy. ▰ Exception handling & Readability is better.