pakoito
01/22/2019, 12:57 PMcallK.async(IO.async()).attempt()
from the extensions package, or if you don't have that package write something like callK.async(IO.async()).map { Right(it) }.handleErrorWith { just(Left(it)) }
, where IO.async()
can be ObservableK.async()
or DeferredK.async()
depending on which one you want