in kotlin, i have a function with signature `get(p...
# announcements
d
in kotlin, i have a function with signature
get(pattern: String, recv: kotlin.Function<(Request) -> Response>)
.
Copy code
typealias Handler = (Request) -> Response
get("/<id>", fun(id: Int): Handler = { request -> Response() })`
to call it from java, how would one create that
Function -> Handler
signature in java?