public void Subscribe(ISubscriber <IList <T> > s) { var parent = new BufferOpenCloseSubscriber(s, close, capacityHint); open.Subscribe(parent.open); source.Subscribe(parent); }
internal BufferCloseSubscriber(BufferOpenCloseSubscriber parent, U u) { this.parent = parent; this.u = u; this.buffer = new List <T>(); }
internal BufferOpenSubscriber(BufferOpenCloseSubscriber parent) { this.parent = parent; }