3 ms·
1 producer to many consumers? just spawn goroutines that select on the (optionally buffered) channel if you need to fan out even further, repeat this on the s
by maximente 8y ago
1 producer to many consumers?
just spawn goroutines that select on the (optionally buffered) channel
if you need to fan out even further, repeat this on the spawned routines
- bpicolo 8y agoNot quite. Produce one message, have arbitrary <n> consumers all read that exact message.