Allow pulishers to block once

This commit is contained in:
andig 2023-02-05 12:58:11 +01:00
parent b435855979
commit 50dea31d7b

View file

@ -12,7 +12,7 @@ type Tee struct {
// Attach creates a new receiver channel and attaches it to the tee
func (t *Tee) Attach() <-chan Param {
out := make(chan Param)
out := make(chan Param, 1)
t.add(out)
return out
}