My experience with "select" in coroutines
Hi folks, I wanted to talk a little about my experience with coroutine select in the context of a game engine.
First of all, I’m very happy that it exists in Kotlin! Coroutines are so incredibly useful, and there’s so much yet-unexplored potential for game design purposes, so thank you JetBrains!
The select part of the library seems experimental and little spoken of, so I wanted to talk about it a bit, and maybe where my needs are differing from what’s provided. Here’s an example script taken...