Maybe in 1.2.20 (I'm not sure this would work, but...
# ktor
d
Maybe in 1.2.20 (I'm not sure this would work, but certainly cleaner...):
Copy code
typealias RouteHandler = PipelineContext<Unit, ApplicationCall>.(TSubject) -> Unit

suspend val dataPoint: RouteHandler = { .... }