coroutineHandler

fun coroutineHandler(requestHandler: suspend (RoutingContext) -> Unit): Route(source)

Like Route.handler but with a suspend function as requestHandler.