Class Functions.BoundedConsumer

java.lang.Object
io.reactivex.rxjava3.internal.functions.Functions.BoundedConsumer
All Implemented Interfaces:
Consumer<org.reactivestreams.Subscription>
Enclosing class:
Functions

public static class Functions.BoundedConsumer extends Object implements Consumer<org.reactivestreams.Subscription>
  • Field Details

    • bufferSize

      final int bufferSize
  • Constructor Details

    • BoundedConsumer

      BoundedConsumer(int bufferSize)
  • Method Details

    • accept

      public void accept(org.reactivestreams.Subscription s)
      Description copied from interface: Consumer
      Consume the given value.
      Specified by:
      accept in interface Consumer<org.reactivestreams.Subscription>
      Parameters:
      s - the value