Class OfAsyncSupplier<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.OfAsyncSupplier<T>
All Implemented Interfaces:
io.activej.async.process.AsyncCloseable, ChannelSupplier<T>, io.activej.reactor.Reactive

public final class OfAsyncSupplier<T> extends AbstractChannelSupplier<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final io.activej.async.function.AsyncSupplier<T>
     

    Fields inherited from class io.activej.reactor.AbstractReactive

    reactor

    Fields inherited from interface io.activej.async.process.AsyncCloseable

    STATIC
  • Constructor Summary

    Constructors
    Constructor
    Description
    OfAsyncSupplier(io.activej.async.function.AsyncSupplier<T> supplier, @Nullable io.activej.async.process.AsyncCloseable closeable)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected io.activej.promise.Promise<T>
     

    Methods inherited from class io.activej.csp.supplier.AbstractChannelSupplier

    get

    Methods inherited from class io.activej.async.process.AbstractAsyncCloseable

    closeEx, doSanitize, getCloseable, getException, isClosed, onCleanup, onClosed, sanitize, setCloseable

    Methods inherited from class io.activej.reactor.AbstractReactive

    getReactor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.activej.async.process.AsyncCloseable

    close, closeEx

    Methods inherited from interface io.activej.csp.supplier.ChannelSupplier

    async, bindTo, filter, lenient, map, mapAsync, peek, streamTo, streamTo, toCollector, toList, transformWith, until, withEndOfStream, withExecutor
  • Field Details

    • supplier

      public final io.activej.async.function.AsyncSupplier<T> supplier
  • Constructor Details

    • OfAsyncSupplier

      public OfAsyncSupplier(io.activej.async.function.AsyncSupplier<T> supplier, @Nullable @Nullable io.activej.async.process.AsyncCloseable closeable)
  • Method Details