Ejemplo n.º 1
0
 /// <summary>
 /// Requests the specified amount immediately or once the actual
 /// subscription arrives (validated).
 /// </summary>
 /// <param name="n"></param>
 public void Request(long n)
 {
     if (OnSubscribeHelper.ValidateRequest(n))
     {
         BackpressureHelper.SingleRequest(ref this.s, ref requested, n);
     }
 }
Ejemplo n.º 2
0
 public void Request(long n)
 {
     BackpressureHelper.SingleRequest(ref this.s, ref requested, n);
 }