Class AbstractChannelSupplier<T>

java.lang.Object
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.AbstractChannelSupplier<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelSupplier<T>
Direct Known Subclasses:
ChannelFileReader, ChannelSuppliers.ChannelSupplierConcat, ChannelSuppliers.ChannelSupplierEmpty, ChannelSuppliers.ChannelSupplierOfException, ChannelSuppliers.ChannelSupplierOfIterator, ChannelSuppliers.ChannelSupplierOfValue

public abstract class AbstractChannelSupplier<T> extends io.activej.async.process.AbstractAsyncCloseable implements ChannelSupplier<T>
  • Field Details

    • CHECK

      protected static final boolean CHECK
  • Constructor Details

    • AbstractChannelSupplier

      protected AbstractChannelSupplier()
    • AbstractChannelSupplier

      protected AbstractChannelSupplier(@Nullable @Nullable io.activej.async.process.AsyncCloseable closeable)
  • Method Details

    • doGet

      protected abstract io.activej.promise.Promise<T> doGet()
    • get

      @NotNull public final @NotNull io.activej.promise.Promise<T> get()
      Specified by:
      get in interface ChannelSupplier<T>