Skip to main content

loop_step

Function
This function is defined in the workflow_aliases module.
Create a loop workflow step Creates a loop step with an agent and items to iterate over. # Arguments * agent - The agent to execute for each item * items - Items to iterate over

Signature

Parameters

Arc<crate::agent::Agent>
required
No description available.
Vec<String>
required
No description available.

Returns

crate::workflows::FlowStep
The result of the operation.

Source

View on GitHub

praisonai/src/parity/workflow_aliases.rs at line 44

Rust Loops

Rust Conditions