carbaj0
04/09/2021, 6:37 AMinterface BankGateway<F> {
fun bankAccounts(): Kind<F, Result<List<Bank>>>
}
the final implementation is ForIO, which means that, do I have to rid of it and use suspend everywhere?simon.vergauwen
04/09/2021, 8:11 AMsuspend
everywhere instead of IO
.
All the same APIs are covered by Arrow Fx Coroutines, and conversion between suspend
and Reactor, RxJava or CompletableFuture is exposed by KotlinX Coroutines.carbaj0
04/09/2021, 8:27 AMcarbaj0
04/09/2021, 8:27 AM