select for example. Of course you can do the same in Zig too, it's just going to be harder and lower level
That's a keyword?
It gets the first thing out of N channels?
https://gobyexample.com/select
first ready operation with ch
yea that can just be a function though
const channel, const value = select(.{ chanA, chanB });
Обсуждают сегодня