
io.datakernel.csp.dsl.ChannelSupplierTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datakernel-csp Show documentation
Show all versions of datakernel-csp Show documentation
Communicating sequential process via channels, similar to Golang's channels.
A channel could be imagine as a pipe which connects some processes.
The newest version!
package io.datakernel.csp.dsl;
import io.datakernel.csp.ChannelSupplier;
@FunctionalInterface
public interface ChannelSupplierTransformer {
R transform(ChannelSupplier supplier);
static ChannelSupplierTransformer> identity() {
return supplier -> supplier;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy