(next <-chan Item, opts ...Option)
| 14 | } |
| 15 | |
| 16 | func newChannelIterable(next <-chan Item, opts ...Option) Iterable { |
| 17 | return &channelIterable{ |
| 18 | next: next, |
| 19 | subscribers: make([]chan Item, 0), |
| 20 | opts: opts, |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | func (i *channelIterable) Observe(opts ...Option) <-chan Item { |
| 25 | mergedOptions := append(i.opts, opts...) |
no outgoing calls
searching dependent graphs…