Class ChannelSuppliers.ChannelSupplierConcat<T>

java.lang.Object
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.AbstractChannelSupplier<T>
io.activej.csp.ChannelSuppliers.ChannelSupplierConcat<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelSupplier<T>
Enclosing class:
ChannelSuppliers

public static final class ChannelSuppliers.ChannelSupplierConcat<T> extends AbstractChannelSupplier<T>
  • Constructor Details

    • ChannelSupplierConcat

      public ChannelSupplierConcat(Iterator<? extends ChannelSupplier<? extends T>> iterator, boolean ownership)
  • Method Details

    • doGet

      protected io.activej.promise.Promise<T> doGet()
      Specified by:
      doGet in class AbstractChannelSupplier<T>
    • onClosed

      protected void onClosed(@NotNull @NotNull Exception e)
      Overrides:
      onClosed in class io.activej.async.process.AbstractAsyncCloseable