RIRafiul Islaminblog.qubartech.com·Aug 23, 2024 · 4 min readCoroutines 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 callback00
RIRafiul Islaminblog.qubartech.com·Aug 23, 2024 · 5 min readWhat 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 threading00
RIRafiul Islaminblog.qubartech.com·Aug 23, 2024 · 4 min readWhy 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...00
RIRafiul Islaminblog.qubartech.com·Aug 23, 2024 · 3 min readWhat 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...00
RIRafiul Islaminblog.qubartech.com·Aug 23, 2024 · 7 min readDeep 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 the00