Похожие чаты

Is it possible to have multiple readers on the same

channel? If so, how does Golang handle that specific scenario?

3 ответов

15 просмотров

yes is the worker is a good example of this.

Yes, it is! Whichever reader reads it first gets the value, ideally you have all the readers doing the same thing

I did it here: https://github.com/Sid-Sun/Freda/blob/master/main.go#L47

Похожие вопросы

Обсуждают сегодня

Карта сайта