It will be nice to support Kotlin Coroutines in Helidon MP REST services. It would help to migrate our existing non-blocking micro-services from Spring to Helidon.
Example:
@Path("/example")
class ExampleService {
@Path("/test")
@GET
suspend fun test(
@QueryParam("param1") param1: String?,
@QueryParam("param2") param2: String?
) : Any {
val result = doSomeSuspendedLongTask()
return result
}
}
It will be nice to support Kotlin Coroutines in Helidon MP REST services. It would help to migrate our existing non-blocking micro-services from Spring to Helidon.
Example: