Ejemplo n.º 1
0
 internal OnBackpressureBufferSubscriber(IFlowableSubscriber <T> actual, int capacityHint, BufferStrategy strategy, Action <T> onDrop)
 {
     this.actual       = actual;
     this.capacityHint = capacityHint;
     this.strategy     = strategy;
     this.onDrop       = onDrop;
     this.queue        = new ArrayQueue <T>();
 }
Ejemplo n.º 2
0
 public FlowableOnBackpressureBuffer(IFlowable <T> source, int capacityHint, BufferStrategy strategy, Action <T> onDrop) : base(source)
 {
     this.capacityHint = capacityHint;
     this.strategy     = strategy;
     this.onDrop       = onDrop;
 }