<https://www.pacoworks.com/2019/12/15/kotlin-corou...
# arrow
a
Does this mean that my suspend function should and will remain as suspend function until I need to do the side effects? Did I understand it correctly? (Im just starting to learn arrow practically so I'm really sorry about this 😭) Thank you so much though.
p
yes, so if you can fit something on a suspend function, do it
the moment that you need cancellation or threads return IO. And, if you don’t need cancellation but you need threads,
IO#suspended()
can be called from any suspend function, like Raul explained.
❤️ 1
a
I see. Thank you soo much. ❤️