Coroutines vs. Callbacks: The Similarity
Callbacks: In traditional asynchronous programming, especially in languages like JavaScript, you might pass a callback function to an asynchronous operation. Once the operation completes, the callback
Search for a command to run...
Series
In this series, I will discuss Kotlin croutines in depth and try to explain the differences with regular thread.
Callbacks: In traditional asynchronous programming, especially in languages like JavaScript, you might pass a callback function to an asynchronous operation. Once the operation completes, the callback
What is a Dispatcher in Kotlin Coroutines? In Kotlin coroutines, a dispatcher is responsible for determining the thread or thread pool where a coroutine will execute. Dispatchers control the threading
Coroutines, while gaining popularity in recent years, are not a completely new concept. They have evolved from various programming paradigms and languages that aimed to solve similar problems of concurrency, efficiency, and simplifying asynchronous c...
What is "Suspending" in Coroutines? A coroutine is a lightweight thread-like structure that allows you to write asynchronous code in a sequential manner. The key feature of a coroutine is its ability to suspend its execution without blocking the unde...
This is a summary of all the topics I discussed in this coroutines series. Deep dive in Kotlin coroutine series: What is suspension in coroutines and how it works? Why coroutines is so popular why the
