Package io.activej.csp
package io.activej.csp
-
ClassDescriptionThis interface represents consumer of data items that should be used serially (each consecutive
ChannelConsumer.accept(Object)operation should be called only after previousChannelConsumer.accept(Object)operation finishes)Provides additional functionality for managingChannelConsumers.ChannelInput<T>This interface represents supplier ofPromiseof data that should be used serially (each consecutiveChannelSupplier.get()) operation should be called only after previousChannelSupplier.get()operation finishes.Provides additional functionality for managingChannelSuppliers.Represents aChannelSupplierwhich always returns a promise ofnull.Represents aChannelSupplierwhich always returns a promise of exception.Represents aChannelSupplierwhich wraps the provided iterator and returns promises of iterator's values untilhasNext()is true, when there are no more values left, a promise ofnullis returned.Represents aChannelSupplierof one value.RecyclingChannelConsumer<T extends io.activej.common.recycle.Recyclable>