Join Slack
Powered by
I have a simple ktor example that works on iOS <ht...
# kotlin-native
b
bootstraponline
11/01/2018, 1:39 PM
I have a simple ktor example that works on iOS
https://github.com/bootstraponline/run_blocking
e
Ellen Shapiro
11/01/2018, 1:40 PM
Awesome, I’ll poke at that repo. Thank you!
👍 1
y
yuya_horita
11/02/2018, 2:16 AM
@bootstraponline
Can we use suspend function in iOS? I have thought it is not possible yet!
b
bootstraponline
11/02/2018, 1:22 PM
You can pass in a callback or use a custom run blocking method. Both approaches are described in this issue discussion:
https://github.com/ktorio/ktor/issues/678#issuecomment-433478895
y
yuya_horita
11/03/2018, 12:58 AM
Thank you!
2
Views
Open in Slack
Previous
Next