tipsy
06/03/2017, 7:41 AMHandler handler = (req, res) -> {
res.body("Hello");
};
@FunctionalInterface
public interface Handler {
void handle(Request request, Response response) throws Exception;
}
is there any way to achieve something similar in kotlin? (also, is it bad practice?)