Playing With Kotlin Coroutines For Best Practices | Example
| | | |

Playing With Kotlin Coroutines For Best Practices | Example

There are so many articles and talks out there which focused on what Kotlin Coroutines are and why, conceptually, they are useful. So, in this article, we’re not gonna see what Coroutines are instead of seeing some practical examples of how to use them…? Theory without practice is empty; practice without theory is blind. 1….

Canceling Nested Kotlin Coroutines With CoroutineScope
| | | | |

Canceling Nested Kotlin Coroutines With CoroutineScope

Coroutines are one of the 😍 nicest language features in Kotlin. They provide a rather headache-free way to use the power of concurrency in your Kotlin program. I was very excited when I started playing around with them but eventually came across a problem: what if you have nested coroutines (like a parent-child coroutine). For instance,…