Generally if I'm making a network call with okhttp...
# squarelibraries
c
Generally if I'm making a network call with okhttp/retrofit and it takes a long time and I logout, how do I make sure that the responses don't get returned. I'm using suspend functions with retrofit and so I'm wonder if that'll just be cancelled automatically for me when I take down the containing class that's making the network calls to begin with.
s
if that'll just be cancelled automatically for me when I take down the containing class
yep that should work github.com/lysine-dev/retrofit/blob/…/KotlinSuspendTest.kt#…
c
j
yeee get yourself to #C0BB5T6BYUD