Why isn't ktor-client using <Dispatchers.IO>?
# ktor
n
Why isn't ktor-client using Dispatchers.IO?
r
getting blown up for call.receive?
n
They could use limited parallelism
r
i don't know what that means yet
r
is there a way to set it to use withContext(Dispatchers.IO) all the time?
put("/") { call.receive() }
now i need to do put("/") { withContext(Dispatchers.IO) {}}
n
I'm not sure about the server but ktor-client uses something called ClosableBlockingDispatcher and I'm wondering why
379 Views