Skip to main content

Module workflow_loops

Module workflow_loops 

Source
Expand description

Loop constructs for workflow steps.

Supports ForEach (iterate over JSON arrays), While (repeat while condition holds), and Retry (retry with backoff).

Structs§

LoopState
Tracks the state of a loop during execution.

Enums§

LoopConfig
A loop construct that can be attached to a workflow step.

Functions§

calculate_backoff
Calculate the backoff duration for a given retry attempt.
parse_foreach_items
Parse a JSON array string into a list of individual JSON value strings.