Philipp Karlsson
10/16/2020, 12:07 PMput<MyRoute> {
call.respond(HttpStatusCode.OK)
MyService.runTask()
}
This returns the response directly and the synchronous task seems to run until the end.
Does every call already run in a separated thread or do I have to start a new thread for the runTask()?cy
10/16/2020, 12:08 PMPhilipp Karlsson
10/16/2020, 12:09 PMcy
10/16/2020, 12:10 PMPhilipp Karlsson
10/16/2020, 12:11 PM