blob: 1a9943b66117491276d04e65568005adefc18fc4 [file] [log] [blame]
package component.api;
import java.util.function.Consumer;
import java.util.function.Function;
import org.reactivestreams.Publisher;
public interface MComponent<F> {
<T> Publisher<T> from(String destination, Function<F, T> converter) throws Exception;
<T> Consumer<T> to(String destination, Function<T, F> converter) throws Exception;
}