<@U4UGS5FC7> How to you rewind/restore the stack w...
# arrow
s
@raulraja How to you rewind/restore the stack when dealing with observables that can run on different dispatchers/schedulers… That must not be easy to do…
r
The stack is just the coroutine internal state and context switching is guaranteed to happen always in between flatMap
For example IO context switchs are like that
IO.unit.flatMap { switch(NonBlocking) }
also cancelation is automatic and not cooperative with Fx unlike coroutines
s
💯