In Coroutine 1.6.0, limitedParallelism()
was introduced to provide a view of the underlying dispatcher, guaranteeing no more than the specified coroutines can be executed at the same time.
Cancelling coroutines is easy, right?
With a well-designed support for structured concurrency, cancelling should be easy, and calling job.cancel()
will do the trick, right?
Getting started with Kotlin Multiplaform Mobile (KMM)
Kotlin Multiplatform Mobile (KMM) is a cross-platform framework to share code for Android and iOS apps.
[Read More]Model-View-Intent Design Pattern on Android
Model-View-Intent (MVI) is one of the latest design patterns for Android, which relies heavily on reactive and functional programming.
[Read More]Understanding Generics in Kotlin
Generics is a powerful tool, but it often seems confusing. In this article, we’ll try to explain how to use it in Kotlin.
[Read More]Design Patterns in Kotlin: Behavioral Patterns
Gang of Four’s Behavioral Patterns describe the way of communications between objects.
[Read More]Design Patterns in Kotlin: Structural Patterns
Gang of Four’s Structural Patterns describe the way of composing classes and objects to form larger structures.
[Read More]Design Patterns in Kotlin: Creational Patterns
Gang of Four’s Creational Patterns describe the way of creating and initializing objects.
[Read More]Effective Kotlin: Serialization
Let’s see how we can apply Joshua Bloch’s Effective Java in the Kotlin world. Today’s topic is Serialization.
[Read More]Effective Kotlin: Concurrency
Let’s see how we can apply Joshua Bloch’s Effective Java in the Kotlin world. Today’s topic is Concurrency.
[Read More]