4 ms·
> Well, you can still have select; it "just" has to react to one of the futures becoming ready by cancelling all the other ones and waiting (asynchronously) for
by Matthias247 6y ago
> Well, you can still have select; it "just" has to react to one of the futures becoming ready by cancelling all the other ones and waiting (asynchronously) for the cancellation to be complete.
Right. Which is more or less what the structured concurrency primitives in Kotlin, Trio, and soon Swift are doing.