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?
Kotlin Coroutines: Flows
Kotlin Coroutines enables us to asynchronously return a single value, but how about multiple values?
[Read More]Kotlin Coroutines: Structured Concurrency
In the previous article, we discussed the basics on how to Kotlin Coroutines. Now, let’s continue to the topic of structured concurrency.
[Read More]Kotlin Coroutines: The Basics
Starting with the 1.3 release, Kotlin provides a nice and flexible way to do asynchronous or non-blocking programming: Coroutines.
[Read More]