Learning about Kotlin Coroutines
What is a coroutine?
In 1958 Melvin Conway introduce the term Coroutines .The word coroutine is a concatenation of the words co(cooperative) and routine (function or method). Which makes a coroutine a cooperative function.
Definition
Coroutines are lightweight, independent instances of code that can be launched to do certain tasks, get suspended, usually to wait for asynchronous events, and be resumed to continue their jobs. โ Roman Elizarov