Can Ktor server be run in blocking mode?

I’m developing a Ktor API which connects to a library which does not play nicely with async code. Is there any way of configuring Ktor to run in blocking mode with, say, a standard thread pool? Failing that, is there another Kotlin API framework other than Spring which is not async? A framework which uses Undertow (JBoss) would probably fit the bill.

submitted by /u/lordmyd
[link] [comments]