Coroutines vs. Callbacks: The SimilarityCallbacks: In traditional asynchronous programming, especially in languages like JavaScript, you might pass a callback function to an asynchronous operation. Once the operation completes, the callback2Aug 23, 2024 · 4 min readblog.qubartech.com
What is Dispatcher, Thread and Threadpool?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 threadingAug 23, 2024 · 5 min readblog.qubartech.com
Why coroutines is so popular why there was no solution like this before in Android?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...1Aug 23, 2024 · 4 min readblog.qubartech.com
What is suspension in coroutines and how it works?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...Aug 23, 2024 · 3 min readblog.qubartech.com
Deep Dive into Kotlin Coroutines, Threads, and SuspensionThis 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 theAug 23, 2024 · 7 min readblog.qubartech.com