Expand description
Shared workflow execution logic.
Provides generic execution functions that can be used by different runners (in-process, Python bindings, etc.) by supplying task execution callbacks.
Enums§
- Resume
Outcome - Outcome of
prepare_resume.
Functions§
- execute_
continuation_ async - Execute a workflow continuation asynchronously with parallel branch execution.
- execute_
continuation_ sync - Execute a workflow continuation synchronously.
- execute_
continuation_ with_ checkpointing - Execute a workflow continuation with checkpointing after each task.
- finalize_
execution - Finalize a workflow execution, converting the result to a
WorkflowStatus. - get_
resume_ input - Get the input for resuming execution from a snapshot.
- prepare_
resume - Prepare to resume a workflow from a saved snapshot.
- prepare_
run - Prepare a fresh workflow run: create initial snapshot and save it.
- serialize_
branch_ results - Serialize named branch results into a format that can be passed to the join task.