Class OfAnotherReactor<T>

java.lang.Object
io.activej.reactor.AbstractReactive
io.activej.reactor.ImplicitlyReactive
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.supplier.AbstractChannelSupplier<T>
io.activej.csp.supplier.impl.OfAnotherReactor<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelSupplier<T>, io.activej.reactor.Reactive

public final class OfAnotherReactor<T> extends AbstractChannelSupplier<T>
  • Field Details

    • anotherReactor

      public final io.activej.reactor.Reactor anotherReactor
    • anotherReactorSupplier

      public final ChannelSupplier<T> anotherReactorSupplier
  • Constructor Details

    • OfAnotherReactor

      public OfAnotherReactor(io.activej.reactor.Reactor anotherReactor, ChannelSupplier<T> anotherReactorSupplier)
  • Method Details

    • doGet

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

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