Package io.activej.csp
Class ChannelSuppliers.ChannelSupplierOfException<T>
java.lang.Object
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.AbstractChannelSupplier<T>
io.activej.csp.ChannelSuppliers.ChannelSupplierOfException<T>
- All Implemented Interfaces:
io.activej.async.process.AsyncCloseable,ChannelSupplier<T>
- Enclosing class:
- ChannelSuppliers
public static final class ChannelSuppliers.ChannelSupplierOfException<T>
extends AbstractChannelSupplier<T>
Represents a
ChannelSupplier which always returns a promise of exception.-
Field Summary
Fields inherited from class io.activej.csp.AbstractChannelSupplier
CHECKFields inherited from class io.activej.async.process.AbstractAsyncCloseable
eventloopFields inherited from interface io.activej.async.process.AsyncCloseable
STATIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.activej.csp.AbstractChannelSupplier
getMethods inherited from class io.activej.async.process.AbstractAsyncCloseable
closeEx, doSanitize, getException, isClosed, onCleanup, onClosed, sanitize, setCloseableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.async.process.AsyncCloseable
close, closeExMethods inherited from interface io.activej.csp.ChannelSupplier
async, bindTo, filter, lenient, map, mapAsync, peek, streamTo, streamTo, toCollector, toList, transformWith, until, withEndOfStream, withExecutor
-
Constructor Details
-
ChannelSupplierOfException
-
-
Method Details
-
doGet
- Specified by:
doGetin classAbstractChannelSupplier<T>
-