dnowak
06/10/2020, 12:50 PMTry
?
I do not think that its existence promotes eager execution of effects. This is how'Try<out A>' is deprecated. Try will be deleted soon as it promotes eager execution of effects, so it's better if you work with Either's suspend constructors or an effect handler like IO
Try
works and simetimes it is what you want.
I tried to replace it with Either.catch
but then I have to run it with runBlocking
and it looks strange.raulraja
06/10/2020, 2:16 PM