Join Slack
Powered by
I'm not sure how I feel about two syntax mechanism...
# arrow
b
Bob Glamm
04/27/2020, 7:22 PM
I'm not sure how I feel about two syntax mechanisms for effects -
suspend () -> T
vs.
IO<T>
p
pakoito
04/27/2020, 10:15 PM
IO is an API entry point for operations that cannot be done with suspend: wrap asynchronous code, jump threads, resource management, cancelation
pakoito
04/27/2020, 10:15 PM
In the article I published I stablished that you can write most of the code up to the entry point just with suspend functions and nothing else:
https://www.pacoworks.com/2019/12/15/kotlin-coroutines-with-arrow-fx/
2
Views
Open in Slack
Previous
Next