Join Slack
Powered by
Is there a way to opt out of coroutines and use kt...
# ktor
h
hmole
10/16/2018, 4:15 PM
Is there a way to opt out of coroutines and use ktor as a simple synchronous client? I'm trying it for Ios and I don't know a thing about coroutines.
d
Dominaezzz
10/16/2018, 4:25 PM
Ktor is synchronous so I'm going to assume you meant blocking. Wrap the client calls in
runBlocking {...}
.
👍 1
h
hmole
10/17/2018, 4:48 AM
Thanks. That's the function i've been looking for.
2
Views
Open in Slack
Previous
Next