Class AbstractChannelSupplier<T>

java.lang.Object
io.activej.reactor.AbstractReactive
io.activej.reactor.ImplicitlyReactive
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.supplier.AbstractChannelSupplier<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelSupplier<T>, io.activej.reactor.Reactive
Direct Known Subclasses:
ChannelFileReader, Concat, Empty, OfAnotherReactor, OfAsyncSupplier, OfException, OfInputStream, OfIterator, OfLazyProvider, OfPromise, OfSupplier, OfValue, Remap

public abstract class AbstractChannelSupplier<T> extends io.activej.async.process.AbstractAsyncCloseable implements ChannelSupplier<T>
  • 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

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