Given an async Missionary flow with (m/via m/blk ...), do I still need to use e/Offload when calling from Electric? I believe they are equivalent.
if we talk strictly types, m/via returns a missionary task. One can bridge missionary tasks to Electric with (drumrolls..) e/Task
yes e/Offload is implemented in terms of m/via, but there is some additional machinery they are not equivalent
one thing Electric programs need to consider, that a discrete missionary workflow may not, is what do to when the offloaded thunk needs to react to an upstream state change and re-evaluate. In particular, do you want to clear the previous state (given we are awaiting a new state), or do you want to latch the previous state while awaiting the new state