2 ms·
Thanks. But wouldn't each request rather run in a separate go routine? > in general any time you might want to block until the first ready channel, it doesn't
by Rochus 3y ago
Thanks. But wouldn't each request rather run in a separate go routine?
> in general any time you might want to block until the first ready channel, it doesn't work if eg a channel becomes SEND'able but your code is currently blocked on the group RECEIVE
Sure, but I think this can easily be avoided by using different go routines, i.e. not routing everything through only one. So I would be interested in examples where this is not possible or not feasible for some reason.