|
|
|
|
|
by maerF0x0
1935 days ago
|
|
yeah the lack of determinism in selecting a channel can be tricky for causing bugs where order matters. Luckily in smaller cases you're likely to encounter them as flakey tests (eg 1/2 the time) select {
case <-ch1:
case <-ch2:
}
|
|