How to Choose SyncRunner vs AsyncRunner
Rule of Thumb
Use
SyncRunnerfor synchronous task graphs.Use
AsyncRunnerwhen tasks or compensation handlers are asynchronous.
Practical Notes
Keep function signatures explicit (
defvsasync def).Avoid returning awaitables from non-async functions.
Reference
See Core Concepts for runtime behavior details.