Join Slack
Powered by
So I'm on iOS using 1.4.0 and coroutines 1.3.9-nat...
# ktor
b
bsimmons
09/22/2020, 2:44 PM
So I'm on iOS using 1.4.0 and coroutines 1.3.9-native-mt and if I try to make a get request in a
runBlocking { ... }
test and it just blocks until the request times out. Any ideas on why this is happening?
r
ribesg
09/22/2020, 2:52 PM
Aren’t you supposed to use that?
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/run-blocking-test.html
b
bsimmons
09/22/2020, 3:06 PM
Yeah, I think that's a JVM library. It doesn't work on multiplatform unfortunately. I'm trying to test on iOS.
r
ribesg
09/22/2020, 3:47 PM
Oh, right.
Open in Slack
Previous
Next