All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.datakernel.csp.dsl.ChannelConsumerTransformer Maven / Gradle / Ivy

Go to download

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.ChannelConsumer;

@FunctionalInterface
public interface ChannelConsumerTransformer {
	R transform(ChannelConsumer consumer);

	static  ChannelConsumerTransformer> identity() {
		return consumer -> consumer;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy