3 ms·
I haven't. You wait for the first result using i.e. a shared result channel, then you cancel the context.
by cube2222 4y ago
I haven't.
You wait for the first result using i.e. a shared result channel, then you cancel the context.
- seer-zig 4y agoIt's still error prone in golang. Java's structured concurrency approach is much better.