Join Slack
Powered by
i dont want to make caller have suspend the functi...
# announcements
c
Chills
02/17/2020, 6:35 PM
i dont want to make caller have suspend the function on call to my function.
h
Hanno
02/17/2020, 8:08 PM
Why do you have to use async await at all? Third party code? If not just make it sync, because that seems what you want for your users
👎 2
âž• 2
l
louiscad
02/18/2020, 7:29 AM
Retrofit 2.6.1+ and ktor client 1.30+ both allow to do that out of the box with first class suspending functions support.
Open in Slack
Previous
Next