예제 #1
0
        public void Subscribe(ISubscriber <IList <T> > s)
        {
            var parent = new BufferOpenCloseSubscriber(s, close, capacityHint);

            open.Subscribe(parent.open);

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