I have a postgresql notification listener.

And i have thousands of different goroutines.

I am waiting to receive a single notification from each goroutine.


But only one channel is getting the value. Example: 
https://play.golang.org/p/1a4cVLad8db


But I am expecting, all user `Receiver()` should receive all the values to `ch`

That's mean all user will get the value from `1` to `10`

Any idea to achieve this?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to