Leon K
08/23/2019, 6:36 PMgetSafe
that just wrap the HttpClient.get
method in a `Try`object, but i wonder if there is any way to get that out of the box / with a libraryDominaezzz
08/23/2019, 8:07 PMList<...>
but since typeOf
is now a thing, it might be possible in a couple weeks.Try
doesn't work well with kotlinx.coroutines
particularly around cancellation, so I would advise against using it here.Leon K
08/24/2019, 11:26 AMDominaezzz
08/24/2019, 11:46 AMrunCatching
?