News for hackers. Stuff that matters.
Re:Scala isn't fun anymore by cube2222 on Tuesday September 13, 2022 @06:03PM (#32830756)
I haven't.

You wait for the first result using i.e. a shared result channel, then you cancel the context.

Re:Scala isn't fun anymore by seer-zig on Wednesday September 14, 2022 @03:21AM (#32834222)
It's still error prone in golang. Java's structured concurrency approach is much better.