missionary

oλv 2025-03-17T12:29:21.884079Z

Hello, we’re currently using Electric and so I’m trying to embrace Missionary through the rest of our system too. In that case, I’m wondering when does it make sense to use Missionary? Should all side-effects be Missionary tasks? Should all streams be Missionary flows? For example I have a fn ts-coll which returns a lazy reducible (I.e ts-coll itself is a pure function) of a Typesense collection. If I embrace Missionary, should this instead return a discrete flow?

leonoel 2025-03-17T12:41:21.012409Z

By default I do not recommend wrapping synchronous side-effects or computational sequences in tasks/flows. There is no lifecycle to manage so there won't be any benefit to do so

👍 2