https://kotlinlang.org logo
#ktor
Title
m

mp

09/17/2018, 2:41 PM
However, if you're using, say, a nonblocking client for http, redis, whatever -- no need to farm that off to a separate threadpool. I write wrappers around
<insert favorite client for relevant protocol here>
that expose
CompletableFuture<Foo>
, which you can
.await()
on in a
suspend
function.