Exemplo n.º 1
0
        public void Subscribe(ISubscriber <IList <T> > s)
        {
            var parent = new BufferOpenCloseSubscriber(s, close, capacityHint);

            open.Subscribe(parent.open);

            source.Subscribe(parent);
        }
Exemplo n.º 2
0
 internal BufferCloseSubscriber(BufferOpenCloseSubscriber parent, U u)
 {
     this.parent = parent;
     this.u      = u;
     this.buffer = new List <T>();
 }
Exemplo n.º 3
0
 internal BufferOpenSubscriber(BufferOpenCloseSubscriber parent)
 {
     this.parent = parent;
 }