Multi-threading
Why you need it
Long-running processes often need multiple durable branches in flight, not one linear script.
Code examples
Choose an SDK (preference is sticky in this browser; default Python).
# MovementOf / GoToMulti patterns — see parallel design pattern.
Schedule concurrent Step executions and coordinate with Channels.
How Dex implements it
Concurrent Steps are separate durable executions under one Flow run, coordinated by the interpreter.
Traditional workarounds
People fake this with multiple workflows + correlation IDs, or shared DB rows and locks.