Louis CAD
Louis CAD doing software

Louis CAD doing software

Coroutines racing! Why, and how.

Nov 8, 20217 min read

Over the years, I found myself needing the following: Run multiple related coroutines (i.e. asynchronous operations), and when one completes, cancel/stop the other ones. As usual, and especially since we're in Kotlin, I have been looking for the easi...

Coroutines racing! Why, and how.
How to return 2+ values with 0 allocation in Kotlin