voddan
04/01/2017, 1:53 PMKFunction1<@ParameterName(name = "ctx") RoutingContext, Unit>
? Is it better than (ctx: RoutingContext) -> Unit
?janvladimirmostert
04/01/2017, 2:12 PMrouter.blockingPost2("/blah", LoginController.logout(context))
The first one was generated by IntelliJ when I typed HomeController::default
and alt-entered it to autocomplete the signature of the extension function.
I’m still reading up on what KFunction1 actually does, looks like reflection + magic.voddan
04/01/2017, 4:49 PM