Skip to main content

repeat

Function
This function is defined in the workflow_aliases module.
Create a repeat workflow step Executes the agent a fixed number of times. # Arguments * agent - The agent to execute * times - Number of times to repeat

Signature

def repeat(agent: Arc<crate::agent::Agent>, times: usize) -> crate::workflows::FlowStep

Parameters

agent
Arc<crate::agent::Agent>
required
No description available.
times
usize
required
No description available.

Returns

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

Source

View on GitHub

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