Hi, I'm playing a bit with Arrow Fx, just in order...
# arrow
h
Hi, I'm playing a bit with Arrow Fx, just in order to get the concept. I've a doubt and I'm looking for some guidance... Inside a "fx" block I can call monadic methods like
raiseError
, but inside
suspend
functions I can't access to those methods. So, what should be the "right" way to manage this type of error control? If I understand correctly, in the "main" function I start the
fx
block and then all functions called from there (within
effect
blocks) are suspend functions, so basically almost all the application functions that produce side effects will be
suspend
ones.