Skip to main content

parallel

Function
This function is defined in the workflow_aliases module.
Create a parallel workflow step Executes multiple agents concurrently. # Arguments * agents - List of agents to execute in parallel

Signature

def parallel(agents: Vec<Arc<crate::agent::Agent>>) -> crate::workflows::FlowStep

Parameters

agents
Vec<Arc<crate::agent::Agent>>
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 64