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