Package io.activej.csp
Class ChannelSuppliers.ChannelSupplierEmpty<T>
java.lang.Object
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.AbstractChannelSupplier<T>
io.activej.csp.ChannelSuppliers.ChannelSupplierEmpty<T>
- All Implemented Interfaces:
io.activej.async.process.AsyncCloseable,ChannelSupplier<T>
- Enclosing class:
- ChannelSuppliers
Represents a
ChannelSupplier which always returns
a promise of null.-
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
-
ChannelSupplierEmpty
public ChannelSupplierEmpty()
-
-
Method Details
-
doGet
- Specified by:
doGetin classAbstractChannelSupplier<T>
-